RE: [PHP] Problem on file_exists()

2002-07-15 Thread David Redmond
Jack, try using forward slashes instead of backslashes;eg $fp = fopen("//nedcoraa/pdf_reports/dealing/filename.ext", "r+"); Cheers -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 16 July 2002 5:02 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Proble

[PHP] Design Tips

2002-06-26 Thread David Redmond
Hi All, I'm about to put myself in the deep end by attempting to create an PHP app that will perform the role of a proxy server. The application has to perform the following based on the URL that the web client will be requesting. URL Requested: https://servername/id0001/ 'id0001' is a unique

[PHP] PHP.INI Lockdown

2002-06-04 Thread David Redmond
Hi All, Is there anyway to lockdown PHP so that only the INI file from C:\WinNT\ is used? Currently, you can place an INI file into the same directory as the php script your viewing through a browser and instead of loading the INI file located in the C:\WinNT\ directory, it will load the INI fil

[PHP] PHP.INI Lockdown

2002-05-30 Thread David Redmond
Hi All, Is there anyway to lockdown PHP so that only the INI file from C:\WinNT\ is used? Currently, you can place an INI file into the same directory as the php script your viewing through a browser and instead of loading the INI file located in the C:\WinNT\ directory, it will load the INI fil

[PHP] mail() not sending -- Little bit OT

2002-04-25 Thread David Redmond
Hi All, When attempting to send an email through a PHP script via Apache, no emails are sent. However if I use the standalone binary and run the same script but on the console then it works fine. Because of that I have a feeling that there is something in Sendmail which is preventing the "nobod

RE: [PHP] Storing Script information in MySQL

2002-03-03 Thread David Redmond
within the field and changed the code to something more basic (echo "Test";) and nothing is being produced. Any further ideas? Cheers -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, 4 March 2002 2:59 PM To: David Redmond; [EMAIL PROTECTED] Subject

[PHP] Storing Script information in MySQL

2002-03-03 Thread David Redmond
Is it possible to store the contents of a PHP file within a field in a MySQL table? When the contents are retrieved, can they be executed by the PHP parser as if it were part of the actual PHP file? ie: have the following stored in the DB; -- snip -- \n"; ?> -- snip -- Then run a PHP script to

RE: [PHP] wordwrap not working

2002-02-20 Thread David Redmond
If your viewing the output through a browser, try this; "); echo "$newtext\n"; ?> -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Thursday, 21 February 2002 1:25 PM To: php Subject: [PHP] wordwrap not working Hi, Im testing the example in the http://www.ph

RE: [PHP] RE: [PHP-DB] I cant get the logic for this...

2002-02-18 Thread David Redmond
If you use the following code it should work well. I used 2 counters, one for the columns and one for the row. It's a bit messy but it works. Cheers NB: Code is untested but copied from a working example with unnecessary bits removed. \n"; $counterRow = 0; $counterCol = 0; $counterResults = m