[PHP] Image editing?

2006-01-07 Thread William Stokes
Hello, I might have to start doing some automated image editing or rezising with PHP. I've never done anything like this before so I would need some guidelines to get started. Basically what sections of the manual to read and what tools need to be installed to the server side to get things like

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Kevin Waterson
This one time, at band camp, Gerry Danen <[EMAIL PROTECTED]> wrote: > I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or perhaps > has a new name? still there, same name. print_r($_SERVER); Kevin -- "Democracy is two wolves and a lamb voting on what to have for lunch. Lib

Re: [PHP] Image editing?

2006-01-07 Thread Kevin Waterson
This one time, at band camp, "William Stokes" <[EMAIL PROTECTED]> wrote: > Hello, > > I might have to start doing some automated image editing or rezising with > PHP. I've never done anything like this before so I would need some > guidelines to get started. Basically what sections of the manua

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Gerry Danen
Kevin, [client 192.168.0.2] PHP Notice: Undefined index: HTTP_REFERER in /home/arls_lilies_test/html/include_db/db_connect.php on line 67 is what shows in the error log... The actual code is $glb_http_ref = $_SERVER['HTTP_REFERER']; Gerry On 1/7/06, Kevin Waterson <[EMAIL PROTECTED]> wro

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Gerry Danen
On 1/7/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: > > This one time, at band camp, Gerry Danen <[EMAIL PROTECTED]> wrote: > > > I'm wondering if $_SERVER['HTTP_REFERER'] is no longer supported, or > perhaps > > has a new name? > > still there, same name. > > print_r($_SERVER); Ah, yes. It's th

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Drew Butler
A simplified version of this would be: $glb_http_ref = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : ""; or just: $glb_http_ref = @$_SERVER['HTTP_REFERER']; The latter will suppress the error message and return a null (or a blank as far as PHP is concerned. Not the cleanest route

[PHP] installing php5 on os x and CLI version

2006-01-07 Thread jonathan
Sorry if this is a newbie question. I installed php5 via the .dmg from entropy.ch. It installs fine as an apache module but the cli doesn't appear to be working by running php -v . Does anyone know how I would fix this? thanks for any help, jonathan -- PHP General Mailing List (http://ww

[PHP] PHP License And Web Server Integration

2006-01-07 Thread Sammy Yu
Hi, I am considering using php as a scripting engine on a custom web server for a commerical project. Are there any licensing restriction if I were to distribute the php5ts.dll? Also, is there any guide that would help me write a module to link php to a web server? Thanks for your help. Rega

[PHP] any good tutorials on how to create an online shop?

2006-01-07 Thread Nicholas Couloute
I need to make an online shop that lets the user select multiply files up to 6mbs then they would all send to the users email address! I need help with the online shop part! it won't involve money so no need for sequirity! ay tutorials? ~Nick -- PHP General Mailing List (http://www.php.net/) T

[PHP] thought stdin was supposed to default open

2006-01-07 Thread matt V
hello, I read that in the cli version of php, the 3 files, sterror, stdout and stdin are already open thus saving having to open them and close them each time. Well, I decided to test that idea and it appears that stdin infact is not pre-opened, but my code may be wrong too, who knows. I made

[PHP] worked around STDIN problem from before

2006-01-07 Thread matt V
hmm, it seems php -a likes to complain heh, so I decided to do my little STDIN tests in an actual script and not interactively and turned off error reporting..things are all happy again in "matt land" lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne