Search Results

Showing results 1 to 16 of 16
Search took 0.03 seconds.
Search: Posts Made By: iamthwee ; Forum: PHP and child forums
Forum: PHP Jul 14th, 2008
Replies: 4
Views: 1,345
Posted By iamthwee
Javascript might be an option, have you checked out dhtml?
Forum: PHP Nov 26th, 2007
Replies: 6
Views: 2,079
Posted By iamthwee
Have you thought about using regular expressions.
Forum: PHP Nov 24th, 2007
Replies: 6
Views: 2,079
Posted By iamthwee
Take out the if condition and put some echos there to see what output you're getting.

I'm curious about the $baseSection = (substr($row[0],-2,-1)=="_") -1 here in line 5?
Forum: PHP Nov 18th, 2007
Replies: 9
Views: 2,016
Posted By iamthwee
I mean have you tried my code?

You might also need to use the function:-

htmlspecialchars
http://ific.uv.es/informatica/manuales/php/function.htmlspecialchars.html

along with n12br()

If...
Forum: PHP Nov 18th, 2007
Replies: 9
Views: 2,016
Posted By iamthwee
Obviously that doesn't account for tabs or newlines... Any luck, I can't actually test that thing as I'm not on my linux box which has the php on it?
Forum: PHP Nov 18th, 2007
Replies: 9
Views: 2,016
Posted By iamthwee
I dunno does the below make any difference?


$string = 'This is a $gfd \' goo.d string £-$,';


if (preg_match("/[^A-Za-z0-9 .,-£$']/", $string)) {
print 'string is NOT OK!';
} else { ...
Forum: PHP Nov 18th, 2007
Replies: 9
Views: 2,016
Posted By iamthwee
maybe...

http://www.webmasterworld.com/forum88/13187.htm

second post from bottom
Forum: PHP Jul 15th, 2007
Replies: 16
Views: 4,433
Posted By iamthwee
I don't think this is possible. Encryption might be an idea but that's very very doubtful.
Forum: PHP Jul 7th, 2007
Replies: 2
Views: 1,258
Posted By iamthwee
>$rdt is a DATETIME value
How sure are you of this?
Forum: PHP Jun 30th, 2007
Replies: 2
Views: 1,646
Posted By iamthwee
You mean...

http://dev.mysql.com/doc/refman/5.0/en/call.html
Forum: PHP Jun 29th, 2007
Replies: 12
Views: 2,185
Posted By iamthwee
It's not liking something in your code. Hmm. I wonder.
Forum: PHP Jun 29th, 2007
Replies: 12
Views: 2,185
Posted By iamthwee
I tested it with firefox on my linux box and it prompts for the open or save option.

How peculiar. Are you using firefox 2.0 out of interest?
Forum: PHP Jun 29th, 2007
Replies: 12
Views: 2,185
Posted By iamthwee
What exactly is your php file doing?
Forum: PHP Jun 24th, 2007
Replies: 6
Views: 3,383
Posted By iamthwee
Yes, it is just that regular expressions provide greater flexibility when extracting stuff from html files. In your example you have used the tag <h1> and it probably works just fine. But what...
Forum: PHP Jun 23rd, 2007
Replies: 6
Views: 3,383
Posted By iamthwee
If you're serious about html parsing etc, regex is the only way to fly.
Forum: PHP Jun 23rd, 2007
Replies: 6
Views: 3,383
Posted By iamthwee
There might be, but it probably is grounded on regex (http://weblogtoolscollection.com/regex/regex.php)
Showing results 1 to 16 of 16

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC