Re: [PHP] HTTPS vs. HTTP ?

2002-07-07 Thread Tracker 1
Personally, I think the concept of NEEDING https is a bit rediculous. Generally, trying to get through the front door, would be the same as trying to get through a concrete wall with a baseball bat... Now, finding a back door, and getting at THEIR database is the REAL key. people don't

Re: [PHP] checking the path from which someone has arrived at a specific script

2002-07-04 Thread Tracker 1
Miguel Cruz [EMAIL PROTECTED] wrote in message... Unfortunately...This is not working. I went to the php manual and it basically stated that not all web sites will post the $HTTP_REFERER. I believe that is what is happening in this case. Also, anyone can fake HTTP_REFERER to be

Re: [PHP] fsockopen question

2002-07-04 Thread Tracker 1
you can do more than one fsockopen, which means you will have multiple sockets open, however, these are part of the same thread in the same process.. in other words, you can't do two things at once by default.. with php-gtk, you can maybe have multiple user events.. and not sure if you can

[PHP] Re: Weird preg problem

2002-07-04 Thread Tracker 1
the /i means case insensitive, remove the i, and it will work as intended. -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net

[PHP] Re: RegEx question

2002-07-03 Thread Tracker 1
as a preg /(...)$/ this gives you the last three chars.. -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net

[PHP] Re: RegEx question

2002-07-03 Thread Tracker 1
Richard Lynch [EMAIL PROTECTED] wrote in message... How can I regex to compare the last three chars of a string to php? if (substr($foo, -3) == 'php'){ } Oh, wait, you wanted to use RegEx. Sorry, can't help you there. :-) Don't use a cannon to swat a fly. probably a good call.. :) --

[PHP] Re: Where do I specify a DSN?

2002-07-03 Thread Tracker 1
Richard Lynch [EMAIL PROTECTED] wrote in message... I'm getting this error message...where does it come from? Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/index.php on line 4@

[PHP] Re: How to put a new line character with fputs($birthday_file, $content);

2002-06-24 Thread Tracker 1
Download unix2dos.exe (there is also a dos2unix.exe) http://www.bastet.com/software/UDDU.ZIP If you are running the php on *nix, and wanting to import the file on excel, you will need it.. Another thing you can do, is create it in an html/table format table tr tddata1/td /tr

Re: [PHP] is there a function like javascript's window.open in PHP

2002-06-24 Thread Tracker 1
heh, my first thought was to suggest php-gtk g you are right, I see this question on asp lists all the time.. :) -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net

[PHP] Re: cookies

2002-06-24 Thread Tracker 1
Paul O'Neil [EMAIL PROTECTED] wrote in message... If a browser has cookies blocked , anyone have code if unable to set cookie then goto another page. at the top of a page.. psuedo code if cookie['test'] exists... if true //cool else if get['cookietest'] exists

[PHP] Re: Removing Empty Lines from Text??

2002-06-24 Thread Tracker 1
$strMine = preg.replace(/(\r\n|\r|\n)+/,$strMine,\r\n\r\n); or \n\n as the replace.. :) I use the (\r\n|\r|\n) to match against windows, unix, mac line terminations... I usually replace with the windows \r\n -- === Michael

[PHP] Re: Removing Empty Lines from Text??

2002-06-24 Thread Tracker 1
would suggest /(\r\n|\r|\n)+/ especially if the input is from a browser that could be mac, or windows.. :) -- === Michael J. Ryan - tracker1[*at*]theroughnecks.com Roughneck BBS: http://www.theroughnecks.net