[PHP] Re: cgi 2 php

2001-08-18 Thread Jamie Burns
h cgi, and many of the scripts you see on the web are written in perl (look at the first line of the script). i personally havent any such converter. jamie burns. "Steven Dowd" <[EMAIL PROTECTED]> wrote in message 036601c127e2$a78f67d0$0100a8c0@win2k">news:036601c127e2$a78f

[PHP] cgi - switch not working?!

2001-08-16 Thread Jamie Burns
w to accomplish this? regards, jamie burns. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] regular expression help

2001-01-24 Thread Jamie Burns
can anyone help me figure out a regular expression to find the value of a tag element? for example: so in each of the above i need to find either "my value" or "value"... i tried this but it wont work for every situation: ereg("element[ ]*[=][ ]*[\"

[PHP] how reliable is Windows2000 / php ?

2001-01-17 Thread Jamie Burns
hi.. i have a client who runs a windows 2000 IIS server. now they want me to write them some server side code that must run under this system. i need to know: - does PHP/MySQL perform reliably under windows 2000? - will PHP/MySQL be reasonably fast under windows 2000? - which is the best i

[PHP] how do i hide my .inc files in apache??

2001-01-17 Thread Jamie Burns
hi.. can anyone tell me how i get apache to never send out the contents of my include files (*.inc) to users? i dont want my source sode to be visible to browsers. thanks, jamie.

Re: [PHP] FW: Cookies, Dammit!

2001-01-16 Thread Jamie Burns
oop, i missed an 'exit;' command off... if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] != true)) { SetCookie("foo", "bar"); header("Location: $PHP_SELF?set=true"); exit; } --

Re: [PHP] FW: Cookies, Dammit!

2001-01-16 Thread Jamie Burns
will this not work... if (($HTTP_COOKIE_VARS["foo"] != 'bar') && ($HTTP_GET_VARS["set"] != true)) { SetCookie("foo", "bar"); header("Location: $PHP_SELF?set=true"); } at the top of the page. or is this what is unreliable on some browsers? jamie. - Original Message - From:

Re: [PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
ahhh, cracked it ;) header("HTTP/1.1 404 Not Found"); echo(''); exit; will produce the nice IE 404 error document... in fact, echoing anything under a certain size, after the header, seems to get IE to do its thing. Jamie Burns. - Original Message - From: &

[PHP] Send browser a 404 not found header?

2001-01-13 Thread Jamie Burns
Hi.. How can I send a browser a "404 not found" page? I tried putting this in a script: header("Status: 404 Not Found"); exit; before any other output, but i keep getting the standard page: from php. any ideas? jamie burns.

Re: [PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Jamie Burns
thanks! what do i need to put in my apache config? j - Original Message - From: "Cynic" <[EMAIL PROTECTED]> To: "Jamie Burns" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 13, 2001 3:06 PM Subject: Re: [PHP] Guru Needed - the p

[PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Jamie Burns
hey guys... my dumb isp has turned on ' --enable-trans-sid ' for all of the users on their webserver without telling them. while i am sure this feature has some benefits, it is breaking my code, big time. besides sticking the session value onto the end of every suspected server request, it is

[PHP] Session Help (transparent sid's)

2001-01-11 Thread Jamie Burns
places) ! Is there a way to override this behaviour in the ini file, or even in the code? One of my customers sites is down because of this, and i can find nothing through searching 8( Thanks guys, Jamie Burns.