Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Maccaday

  1. Maccaday

    Setting up iptables for proxy

    Hi, Due to the location of where I am currently living and government restrictions on certain websites, I am trying to set up a proxy server on a server I have located in the US for the purpose of redirecting traffic that I cannot ordinarily get at. It has Fedora 8 installed, and I am trying...
  2. Maccaday

    When are POST variables sent in an HTTPS request?

    Thanks, that was just the response I was hoping for.
  3. Maccaday

    When are POST variables sent in an HTTPS request?

    Hi, I was wondering when precisely POST/PUT variables are sent in an HTTPS request. The questions pertain to requesting page transmitted over HTTPS from a page that was transmitted over HTTP. I have two questions: 1) Are POST/PUT variables sent at the same time as the initial request to the...
  4. Maccaday

    Recoding PHP scripts in C - much speed difference?

    Thanks. You've made some useful points.
  5. Maccaday

    Recoding PHP scripts in C - much speed difference?

    ArkM > Thanks for the clarification. I will almost certainly consider re-writing some parts in C in that case. Trollacious > It would have been even better if it had been correct! ;-) It just goes to show that you should never assume things you think are true. The rest is still true (I...
  6. Maccaday

    Open window is seen as a popup. Anyway around this?

    You don't need to use Javascrpt to create a form or read it. Probably the easiest way is to create a PHP page that includes an HTML form, which submits information back to itself. This page will first test for submitted variables, and if it finds that that the page has been requested by the...
  7. Maccaday

    php5 insert

    Hi, The syntax that you are using is muddled, so I'm guessing that you're fairly new to PHP - well done on getting started, though. I think it might be an idea to look at the documentation on PHP on the PHP.net website (http://www.php.net/manual/en/ for the English version - there are other...
  8. Maccaday

    Recoding PHP scripts in C - much speed difference?

    The interpreter will generally convert the PHP code to C at runtime. The Zend Engine (which is the core of PHP), and almost all extensions to PHP are written in C, and PHP is (as far as I'm aware) converted to compiled C. These extensions are obviously compiled before they can be used as part...
  9. Maccaday

    PHP for BOT or Crawler?

    Have a look at the function list on the PHP website: http://www.php.net/manual/en/index.php. The CURL (Client URL) functions can access remote files, which you can then scan using other functions. Depending on what information you are trying to collect, then the DOM functions might be useful...
  10. Maccaday

    Recoding PHP scripts in C - much speed difference?

    Lee, Thanks for your response. I'm not sure that I made my question very clear, though - sorry. I realise that compiled code is faster than interpreted code, and that PHP is an interpreted language. However, if you cache scripts and functions in memory/on the hd, then the code is stored in...
  11. Maccaday

    parsing xml with php

    What you want to look at is the DOM extension documentation on the php.net website (http://www.php.net/manual/en/ref.dom.php). This extension has a bunch of functions for creating, reading and manipulating XML documents, and it's included in the core installation of recent versions of PHP...
  12. Maccaday

    Recoding PHP scripts in C - much speed difference?

    (I've also submitted this to the PHP forum.) Hi, I'm setting up a project where speed of execution of scripts/functions is very important. I will initially be writing everything in PHP, and will be caching compiled scripts both on the hard disk and in memory to speed up execution. Much of...
  13. Maccaday

    Recoding PHP scripts in C - much speed difference?

    Hi, I'm setting up a project where speed of execution of scripts/functions is very important. I will initially be writing everything in PHP, and will be caching compiled scripts both on the hard disk and in memory to speed up execution. Much of the code will be re-used in lots of places all...
  14. Maccaday

    Serverless video-conferencing with Flash

    Hi, I'm looking to develop a flexible browser-based, video-conferencing package that doesn't require streaming all the video from a central server. I know that browser-based video-conferencing packages are available for Flash, but all the ones I have come across require Macromedia's...
  15. Maccaday

    Resizable box to crop image

    Here you go. It's the same site, just a different part of it. http://labs.silverorange.com/archives/2003/june/mayitakeyour You might want to have a look round the labs section. They're a pretty good company, and post some interesting bits of code. They also did the logos for Mozilla's...

Part and Inventory Search

Back
Top