Re: [PHP] echo text - anti-spam-spider measure

2007-03-01 Thread Casey Chu
aas <[EMAIL PROTECTED]> wrote: Richard Lynch wrote: > You could also use %XX in HEX on the mailto: you can actually randomly mix and match hex and entity encoding, which is what the function I posted elsewhere in the thread does. > > On Tue, February 27, 2007 11:09 pm, Casey Chu wrote:

Re: [PHP] change Style Sheet by programming

2007-03-06 Thread Casey Chu
I don't really understand your question, but... http://www.quirksmode.org/dom/changess.html http://www.quirksmode.org/book/examplescripts/dropdown/index.html On 3/6/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, I'm creating a Class which should allow user to setup the default theme CSS file h

Re: [PHP] Distinguishing between a mouse click and a refresh?

2006-12-04 Thread Casey Chu
Oooh... now that I think about it, it doesn't work. Sorry =( On 12/4/06, Paul Novitski <[EMAIL PROTECTED]> wrote: Hi Casey, Yes, I can see that your javascript function adds a random number to the href of a clicked link, but how does that help PHP distinguish between a page loaded t

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
Search Engines don't like the META tag. Use location.href='foobar.php';Foo Bar On 12/13/06, tedd <[EMAIL PROTECTED]> wrote: At 9:02 PM +0100 12/12/06, Tim wrote: >Just a quick question regarding this issue. > >Considering bruce wants to be able to display the data and then change >location aft

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
It's usually OK if it's 8 seconds or more, but that would take too long. See here for info: http://www.netmechanic.com/news/vol4/promo_no15.htm On 12/13/06, Budi Setiawan <[EMAIL PROTECTED]> wrote: > basically: > > cat.php > -echo " test content" > -echo " more test content" > > //redirect us

Re: [PHP] php redirection..

2006-12-15 Thread Casey Chu
Actually... Search engines don't have a JavaScript interpreter. On 12/15/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, December 12, 2006 12:51 pm, Stut wrote: > bruce wrote: >> hey stut... > > Please don't reply to me directly, always include the mailing list. > >> thanks for the reply...

Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
Did you add a submit button to the page? On 12/15/06, Richard Lynch <[EMAIL PROTECTED]> wrote: >> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: >> > PHP Notice: Undefined index: val1 in >> > /net/people/user/public_html/cgi-b= >> > in/script.php on line 14 >> >> http://php.net/isset >> O

Re: [PHP] php redirection..

2006-12-15 Thread Casey Chu
Well... They skip all 's, so they skip <!-- //-->'s. On 12/15/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Fri, December 15, 2006 10:28 pm, Casey Chu wrote: > Actually... Search engines don't have a JavaScript interpreter. Actually... You don't know for

Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
On your script page, add echo ""; print_r($_REQUEST); echo ""; and tell us the result. On 12/15/06, Emiliano <[EMAIL PROTECTED]> wrote: Yes Casey, I'm using the submit button -emiliano > >> On Fri, December 15, 2006 7:39 pm, Emiliano wrote: >

Re: [PHP] POST in Apache server

2006-12-15 Thread Casey Chu
cgi-bin/mail.php on line 18 PHP Notice: Undefined index: val2 in /net/people/user/public_html/cgi-bin/mail.php on line 20 -emiliano > On your script page, add > > echo ""; > print_r($_REQUEST); > echo ""; > > and tell us the result. > > On 12/

Re: [PHP] Re: php redirection..

2006-12-16 Thread Casey Chu
I believe it's spelled non-sequitur. =) On 12/16/06, Jonesy <[EMAIL PROTECTED]> wrote: On Fri, 15 Dec 2006 21:07:44 -0800, Casey Chu wrote: > Well... They skip all 's, so they skip <!-- //-->'s. Wow! You get The Prize for the best non sequitor of the da

Re: [PHP] problem loading phpinfo

2006-12-17 Thread Casey Chu
You probably didn't install PHP correctly. On 12/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Please, Could you tell me if this problem has been resolved: I am using php-5.2X and has this problem, I also had this problem when I was using php-5.1.X. My Apache is httpd-2.2.3. Here is th

Re: [PHP] simplest way in php to get our content on another site / included javascript question

2006-12-17 Thread Casey Chu
If this is about search engine optimization, I'd suggest using Javascript. Something like : http://www.yoursite.com/include.php?article=1536f";>http://www.yoursite.com"; id="yoursite">Provided by YourSite And inside the script, Ajax to fetch and display the content, and also add if (var li

Re: [PHP] ECHO

2006-12-18 Thread Casey Chu
Why do you need to change its functionality? On 12/18/06, Fahad Pervaiz <[EMAIL PROTECTED]> wrote: ECHO is a language construct but still is there any work around to override it or change its functionality??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Re: ECHO

2006-12-18 Thread Casey Chu
You could try to manipulate what the echo's output by ob_start(), etc. Or maybe you could change the standard output? On 12/18/06, Fahad Pervaiz <[EMAIL PROTECTED]> wrote: I have written a framework for internationalization. Now i have incoorperate it into and existing system that is huge and it

Re: [PHP] heredoc

2006-12-18 Thread Casey Chu
I usually use an include rather than a heredoc. On 12/18/06, Paul Novitski <[EMAIL PROTECTED]> wrote: At 12/18/2006 10:14 PM, clr wrote: >Please can someone advise me on heredoc and its shortcommings, > >I am designing a complex site and elected to use DIV's as opposed to frames. >Heredoc seems

Re: [PHP] Video question

2006-12-19 Thread Casey Chu
Maybe you could try some complicated file splitting thing? Like [dynamically] split the video into 10 pieces and send them in a jumbled mess, and decode them using something like flash? On 12/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: To view a video, you do have to download it. But yo

Re: [PHP] Excluding apostrophe's

2006-12-22 Thread Casey Chu
It should be like this: On 12/22/06, Paul Novitski <[EMAIL PROTECTED]> wrote: >RAFMTD (Ian) wrote: ... >>$name = mysql_real_escape_string ($_POST['name']); ... >>mysql_connect("humbug",$username,$password); ... >>the script fails with the following report Warning: >>mysql_real_escape_string()

Re: [PHP] New User Sign up Notification

2006-12-23 Thread Casey Chu
What do you mean by "now"? On 12/22/06, JMCS Niagara (Jeff) <[EMAIL PROTECTED]> wrote: hi there. I'm looking to create a new user signup. So when someone signs up, it emails admin the Username, Real Name, and IP address. I have this code called newusersignupnotification.php ". "Username: ".$_

Re: [PHP] Script's length, echo, and execution speed

2006-12-23 Thread Casey Chu
Yeah, try testing. Maybe something like this: Execute"; if ($_POST['code']) { echo ""; $time_start = microtime_float(); eval($_POST['code']); $time_end = microtime_float(); echo "Loading took: ". $time_end - $time_start. ''; } echo "$form"; // Note: This script is extremely dangerous and

Re: [PHP] New User Sign up Notification

2006-12-23 Thread Casey Chu
I still do not understand. Isn't that what your script already does? On 12/23/06, Casey Chu <[EMAIL PROTECTED]> wrote: What do you mean by "now"? On 12/22/06, JMCS Niagara (Jeff) <[EMAIL PROTECTED]> wrote: > hi there. I'm looking to create a new user si

[PHP] Apache module failure

2002-08-25 Thread Casey Allen Shobe
er PHP would not build at all with --with-apxs2=/usr/sbin/apxs on another machine with Apache 2.0.40 installed. In any case, I really need to get something working. Any advice is appreciated. -- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 404.327.6339 x169 /

[PHP] Additional: [PHP] Apache module failure

2002-08-25 Thread Casey Allen Shobe
On Sunday 25 August 2002 06:10 am, Casey Allen Shobe wrote: > I would much rather be using Apache 2.0.40, however PHP would not build at > all with --with-apxs2=/usr/sbin/apxs on another machine with Apache 2.0.40 > installed. I was stupid in saying that without mentioning any furth

Re: [PHP] Re: How do I keep a page from caching in I.E

2002-09-06 Thread Casey Allen Shobe
Y H:i:s").' GMT'); header ('Expires: '.gmdate("D, d M Y H:i:s").' GMT'); header ('Cache-Control: no-cache, must-revalidate'); header ('Pragma: no-cache'); If anyone has any further information, I would appreciate it. Are there worka

Re: [PHP] setcookie()

2002-01-06 Thread Casey Allen Shobe
amsus wrote: > They are identical except for the PHP SetCookie() version using a 2-digit > year (which can be changed in your php.ini file with the y2k directive). -- Casey Allen Shobe [EMAIL PROTECTED] 'Why do people with closed minds always open their mouths?' -- PHP General M

Re: [PHP] Connect to IBM DB2

2002-01-06 Thread Casey Allen Shobe
Use IBMs DB2 Connect client and compile php --with-db2. I use the server and the client on linux platforms and have never been so happy with database work ;). I've alse used iODBC with the db2 libraries to talk to DB2 with no real performance change. - Casey On Wednesday 02 January 20

[PHP] Setting cookie very broken! Please help!

2002-01-15 Thread Casey Allen Shobe
r any other information required to diagnose, I would be very thankful. I need to get this working ASAP, and have been fighting it to no avail for the past few hours. -- Casey Allen Shobe [EMAIL PROTECTED] 'Why do people with closed minds always open their mouths?' -- PHP Genera

Re: [PHP] Setting cookie very broken! Please help!

2002-01-15 Thread Casey Allen Shobe
very odd that the old one doesn't though, considering that it's the same Apache/PHP configuration, and the same code, on both machines. Only difference is PHP v4.0.6 on the old one, vs. PHP v4.1.1 on the new one. If anyone is interested, I can send a tarball of the old code. - Casey

[PHP] Database query failure! (multiple datasources)

2002-01-30 Thread Casey Allen Shobe
_id and registration.sw_nibc=\'955\''); $num_queue_alerts = db_query ($db2_conn, 'select count(*) from alerts where egad=-1'); ...then the output is '15'. What is the logic here? I see none... Does anyone else use multiple data sources? -- Casey Allen Shob

Re: [PHP] PHP Work in New York

2002-02-13 Thread Casey Allen Shobe
Why not start a php-jobs mailing list? It would be an ideal place for employers and job seekers alike, just like the SecurityFocus security-jobs mailing list. - Casey On Tuesday 12 February 2002 17:28, you wrote: > On Tuesday, February 12, 2002, at 05:17 PM, NDPTAL85 wrote: > > Yo

[PHP] jklingler@secureworks.com

2002-04-18 Thread Casey Allen Shobe
-- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144 [EMAIL PROTECTED] / http://www.secureworks.net Content is my own and does not necessarily represent my company. -- PHP General Mailing List (http://www.php.net/

[PHP] Running out of sockets! Help!

2002-05-20 Thread Casey Allen Shobe
files in system I don't know how to track this down - any help would be appreciated. The operating system is Linux; the webserver Apache. I cannot connect to the database when I start seeing these. Restarting Apache makes the problem go away for a few days. -- Casey Allen Shobe / Ne

Re: [PHP] Running out of sockets! Help!

2002-05-20 Thread Casey Allen Shobe
nning out of memory). Fixed. I downloaded lsof, and determined that every httpd process had a lot of /tmp/freetds.log handles open, so I disables logging in the freetds.conf file. Excellent. I love UNIX. -- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 4

[PHP] publicfile

2002-05-23 Thread Casey Allen Shobe
Hey, Anybody gotten PHP to work with Publicfile? Is there documentation somewhere? Thanks, -- Casey Allen Shobe / Network Security Analyst & PHP Developer SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144 [EMAIL PROTECTED] / http://www.secureworks.net Content is my own and does

Re: [PHP] Can php do this?

2001-11-24 Thread Casey Allen Shobe
alternative is using wget on the URL, or links -dump if you have that instead. Or if your script has #!/usr/bin/php or whatever path at the top and is made executable, you can just call that script without relying on the webserver. I think, even if it's just a normal php file you could cron

Re: [PHP] PHP to ASP ?

2001-11-26 Thread Casey Allen Shobe
> EuroVox > 4, place Félix Eboue > 75583 Paris Cedex 12 > Tel : 01 44 67 05 05 > Fax : 01 44 67 05 19 > Web : http://www.eurovox.fr > -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:-

Re: [PHP] cookies

2001-11-27 Thread Casey Allen Shobe
s it's value to the page that loads when you submit the form. So in the page that sets the cookie: if ($checkbox == 1 ) { setcookie (whatever); } else { setcookie (whateverelse); } -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:->+: a-- C++() ULU$ P- L+++>++

Re: [PHP] setcookie BUG w/ IE 5.5, 6.0 & Netscape!

2001-11-27 Thread Casey Allen Shobe
setcookie and started using this: $date = gmdate("D, d-M-Y H:i:s", ($time)); header ('Set-Cookie: username='.$username.'; expires='.$date.' GMT; path=/; domain='.$SERVER_ADDR); Problem is, I just upgraded a machine to Netscape 6.2 from 6.1, and now it won

[PHP] PHP access to MS SQL Server 2000

2001-11-28 Thread Casey Allen Shobe
find a way... -- Casey Allen Shobe [EMAIL PROTECTED] GCS/CM d+ s+:->+: a-- C++() ULU$ P- L+++> E- W++ N++ !o K- w-- !O M V- PS++ PE Y+ PGP>++ t+ 5+ X R>+ tv-- b++ DI+ D G++ e h-(*) r--- z-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

Re: [PHP] Setting Cookies

2001-12-10 Thread Casey Allen Shobe
d users section. Should I > be setting the cookie on the top of the page that I am sending them to? Yes, or do what I do and redirect to a dologin page that sets the cookie and autorefreshes after one second to the real page, which requires the cookie to be set already. -- Casey Allen Shob

Re: [PHP] Cookie

2001-12-12 Thread Casey Allen Shobe
lders? > > Steve Osborne > Database Programmer > Chinook Multimedia Inc. > [EMAIL PROTECTED] -- Casey Allen Shobe [EMAIL PROTECTED] -- 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]

Re: [PHP] Searching for a new provider

2001-12-12 Thread Casey Allen Shobe
ease contact me privately at [EMAIL PROTECTED] - Casey On Wednesday 12 December 2001 16:06, Andy wrote: > Hi there, I am searching for a provider who fullfills those criterias and > > does not cost a fortune: > > - PHP >= 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 > > > > -

Re: [PHP] If/else conditional statement ...

2001-12-23 Thread Casey Allen Shobe
s false. I heavily dislike this coding style, however, and personally would use something like this: $varA was '); if ($varA == true) { print ('true'); } else { print ('false'); } print ('.'."\n"); ?> -- Casey Allen Shobe [EMAIL PROT

<    1   2   3