[PHP] Test Links...

2003-09-26 Thread Doug Coning
if there was a way when a link was clicked to test the link first to see if it is still active. If it isn't active, I would like to remove the link from my database. Is there a command that tests the results of link? Thanks, Doug Coning American Web Studio http://www.americanwebstudio.com HTML / FLASH / PHP

[PHP] Form Retain Info on Back?

2003-07-31 Thread Doug Coning
Hi All, I have a php form that I run a test to see if they have entered in all required fields before inserting into a MySQL db. The PHP script simply reports what is missing and exits the rest of the page. However, when you click the back button, all the information that was entered, is gone.

[PHP] Encoding /'s

2003-03-15 Thread Doug Coning
Hi All, When my PHP page sends text that is being passed in, it places an / in front of the apostrophe. How do I encode or decode this when I am outputing the variable? Thanks, Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] imagejpeg and downloading images

2003-03-11 Thread Doug Coning
download the image, it just shows the image in the browser. I'm using IE 6 for my browser. How I get PHP to download this image? Thanks! Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] imagejpeg and downloading images

2003-03-11 Thread Doug Coning
Thanks to everyone for their help. The code below worked great! Thanks, Doug Coning - Original Message - From: adrian [EMAIL PROTECTED] [EMAIL PROTECTED] To: Doug Coning [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, March 11, 2003 11:57 AM Subject: Re: [PHP] imagejpeg

[PHP] Redirect...

2003-03-10 Thread Doug Coning
; filename=variables.txt'); header('Content-Length: ' . strlen($send)); ? Am I suppose to redirect the page after it saves the file, and if so how would I do that? Thanks, Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP removing data...

2003-03-08 Thread Doug Coning
of the variables I've entered. Does anyone have a suggestion as to what I'm doing wrong? Thanks Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Automatically Save Image?

2003-03-04 Thread Doug Coning
and have the viewer 'right' click on it and select Save. But is there anyway to automate this so that Flash would open the URL that would automatically open the Save Picture window for saving to the person's harddrive? Thanks, Doug Coning -- PHP General Mailing List (http://www.php.net

[PHP] Save Image?

2003-01-06 Thread Doug Coning
Hi all, I have a PHP page that returns products. My client wants to have a button beside each product that says Download. When you click download, he wants the Save Picture Window box to automatically open and allow the viewer to select the location to save the image that he clicked DownLoad

[PHP] Warning?

2002-12-30 Thread Doug Coning
Hi everyone, I'm using Dreamweaver to create an insert page and after the record is inserted I receive this error: Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site8/fst/var/www/html/admin_gs/products_insert.php:2) in

Re: [PHP] Warning?

2002-12-30 Thread Doug Coning
Never mind. http://www.agner.org/messageboards/docs/read-me.txt says that if there is a space before the ?php that this error will return. Sure enough. Dreamweaver MX placed a space between an include tag and the next ?php tag. Once I removed the space, it worked without error. Doug -- PHP

[PHP] Multiple forms

2002-12-30 Thread Doug Coning
Hi all, I have an update page that has a form in it. However, I want to add another form in the same page. My current form acts upon itself (i.e. Action = the same page). If I set up another form to do the same, how would my PHP determine with action submit button was acted upon? Currently,

[PHP] Is there a way to test for a file?

2002-10-08 Thread Doug Coning
, instead of returning the product with the infamous missing jpeg picture, I would rather the product be skipped altogether. I'd like PHP to check to see if the image/picture.jpg exists before returning the picture. Is this possible? Thanks! Doug Coning American Web Studio

[PHP] Java Pop UP...

2002-06-26 Thread Doug Coning
write java code into this to force it to open the window at 300 by 255? I know the java code for this is as follows: onclick=MM_openBrWindow('73things_thread.php','Thread','scrollbars=yes,widt h=300,height=255') How do I merge the java code into PHP? Thanks! Doug Coning Coning Consulting

[PHP] Another Pop-Up problem..

2002-06-26 Thread Doug Coning
that when you click a different link it brings up the proper record. You can see what I mean by visiting the code at: http://www.coning.com/phptest/73things_view5.php. Thanks! Doug Coning -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Easy Date MySQL Question...

2002-06-25 Thread Doug Coning
Hi everyone, I have searched the php.net and don't know where to look for the code I need. I have a MySQL date column that reads this way: 2002-06-25. However, in PHP I want to show it this way 06/25/2002. Any assistance is greatly appreciated!!! Thanks in advance. Doug Coning Coning