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
data1
this wil
heh, my first thought was to suggest php-gtk 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 telnet://the
"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
$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
--
===
Mic
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 telnet://theroug
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
=
"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
"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
"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
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 emulate
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
===
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 generally
12 matches
Mail list logo