[PHP] keymappings - PHP or MySQL?

2002-04-28 Thread baldey_uk
Hi, At the moment im getting a difference in keymappings between what is typed into a field and what is stored in the database. I have an html form that gets a text string called $email and this is inserted into a VARCHAR database feild via php, the problem is when special characters are

Re: [PHP] append line to text file HELP !!!

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, Rodrigo wrote: Ok guys, this is the code and under it you can see what I get when I try to submit the form. ?php $file_pointer=file('emails.txt','a') || exit; $string_to_write = ($newmail).\n; $s=fopen($file_pointer,$string_to_write); $s=fclose($fp); ? Where did

RE: [PHP] PayPal: Instant Payment Notification

2002-04-28 Thread Chris Montgomery
Lauri, There are a couple links here that might help: http://www.paypalipn.com/scripts.html Chris Montgomery[EMAIL PROTECTED] Airtight Web Services http://www.airtightweb.com Web Development, Web Project Management, Software Sales 210-490-3249/888-745-7603 -Original

[PHP] Re: lookin for a Menuing System...

2002-04-28 Thread Javier
There are many Javascript menu editors. I think that's what you need. Dan wrote: I could do this myself but I don't want to waist time writing something that I could have just asked for.. what I need is a menuing system.. When link is clicked the sub-topics appear under the topic you

RE: [PHP] append line to text file HELP !!!

2002-04-28 Thread John Holmes
Do you read the replies that were sent to you. Where did you get file() from and why are you using fopen() to write to a file?? You're lucky Miguel is such a nice guy and helping you out. ---John Holmes... -Original Message- From: Rodrigo [mailto:[EMAIL PROTECTED]] Sent: Sunday,

Re: [PHP] redirection

2002-04-28 Thread David Freeman
On 28 Apr 2002 at 19:11, Norman Zhang wrote: I want to set up a check that the page cannot be exacted by calling from another page. E.g., members.php can only be excited if it called by login.php. If your login page does some sort of authentication and then either sets a cookie or a session

Re: [PHP] append line to text file HELP !!!

2002-04-28 Thread David Freeman
On 29 Apr 2002 at 0:26, Rodrigo wrote: Ok guys, this is the code and under it you can see what I get when I try to submit the form. ?php $file_pointer=file('emails.txt','a') || exit; $string_to_write = ($newmail).\n; $s=fopen($file_pointer,$string_to_write); $s=fclose($fp); ?

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread David Freeman
On 29 Apr 2002 at 15:11, Dan wrote: what I need is a menuing system.. Much like this JavaScript one... except I need it in PHP... http://www.dynamicdrive.com/dynamicindex1/navigate1.htm Umm, you want to have to reload a whole page just to expand a navigation menu? Not real good use of

[PHP] Last time Append line to text file

2002-04-28 Thread Rodrigo
Ok, but I'm trying the following code wich is basicaly the same Miguel sent me and I still get the same message. Please excuseme for being so repetitive but Í don't seem to see where is the mistake, Sorry guys for the trouble. ?php $file_pointer = fopen('/public_html/emails.txt', a) ||

[PHP] Re: your mail

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, Rodrigo wrote: Ok, but I'm trying the following code wich is basicaly the same Miguel sent me and I still get the same message. Please excuseme for being so repetitive but Í don't seem to see where is the mistake, Sorry guys for the trouble. ?php $file_pointer =

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, David Freeman wrote: On 29 Apr 2002 at 15:11, Dan wrote: what I need is a menuing system.. Much like this JavaScript one... except I need it in PHP... http://www.dynamicdrive.com/dynamicindex1/navigate1.htm Umm, you want to have to reload a whole page just to expand

RE: [PHP] lookin for a Menuing System...

2002-04-28 Thread Martin Towell
javascript should be easy enough to convert to php - thier language constructs are basically the same. I even found out, by accident, that you can have dollar signs ($) in front of javascript variables (in ie5.5 at least, haven't tried it in other browsers) -Original Message- From:

[PHP] Unable to Install PHP 4.2 into RH7.0/Apache 1.3

2002-04-28 Thread Richard Emery
I am unable to install PHP 4.2 functionality into my RH 7.0/Apache 1.3 environment. I downloaded the 4.2 source. The INSTALL file provides 2 options: DSO and static. I was unable to create the DSO version because the file apxs is nowhere to be found on my system. I should mention that I

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Richard Archer
At 3:11 PM +1200 29/4/02, Dan wrote: what I need is a menuing system.. When link is clicked the sub-topics appear under the topic you just clicked on.. PHPLIB contains a class that can do this. It's not as robust as the rest of PHPLIB, but it should serve as a good starting point for your

[PHP] keymappings - PHP or MySQL?

2002-04-28 Thread baldey_uk
Hi, At the moment im getting a difference in keymappings between what is typed into a field and what is stored in the database. I have an html form that gets a text string called $email and this is inserted into a VARCHAR database feild via php, the problem is when special characters are

Re: [PHP] Last time Append line to text file

2002-04-28 Thread Richard Emery
The answer is: $file_pointer = fopen('/public_html/emails.txt', a) or exit; The || is a binary operation. You want or, the logical operation. - Original Message - From: Rodrigo [EMAIL PROTECTED] To: [EMAIL PROTECTED]; 'Miguel Cruz' [EMAIL PROTECTED]; 'John Holmes' [EMAIL

Re: [PHP] keymappings - PHP or MySQL?

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, baldey_uk wrote: At the moment im getting a difference in keymappings between what is typed into a field and what is stored in the database. I have an html form that gets a text string called $email and this is inserted into a VARCHAR database feild via php, the problem

RE: [PHP] lookin for a Menuing System...

2002-04-28 Thread David Freeman
On 29 Apr 2002 at 14:05, Martin Towell wrote: javascript should be easy enough to convert to php - thier language constructs are basically the same. Sure, but that doesn't mean it's appropriate. A menu system done in php will have the advantage of being, from the browsers point of view,

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread David Freeman
On 28 Apr 2002 at 23:03, Miguel Cruz wrote: Do it in JavaScript, it works and it's client side so it will be faster. But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware

Re: [PHP] Last time Append line to text file

2002-04-28 Thread Miguel Cruz
On Sun, 28 Apr 2002, Richard Emery wrote: The answer is: $file_pointer = fopen('/public_html/emails.txt', a) or exit; The || is a binary operation. You want or, the logical operation. Yeah, Perl habit. But || is logical too (it's | that's binary), it just seems to result in

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Jason Wong
On Monday 29 April 2002 11:11, Dan wrote: I could do this myself but I don't want to waist time writing something that I could have just asked for.. what I need is a menuing system.. When link is clicked the sub-topics appear under the topic you just clicked on.. e.g. if you where to

RE: [PHP] Last time Append line to text file

2002-04-28 Thread Martin Towell
or you could code it like this: $file_pointer = fopen('/public_html/emails.txt', a) if (!$file_pointer) exit; -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:34 PM To: Richard Emery Cc: [EMAIL PROTECTED] Subject: Re: [PHP]

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread michael kimsal
Miguel Cruz wrote: Do it in JavaScript, it works and it's client side so it will be faster. But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware / corporate policy), and

RE: [PHP] lookin for a Menuing System...

2002-04-28 Thread Martin Towell
We have 1 or 2 clients that have js disabled because of security Also, I very often use Lynx (the text browser, not the game :) ) to browse the web. -Original Message- From: michael kimsal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:46 PM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, michael kimsal wrote: Miguel Cruz wrote: But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware / corporate policy), and search engines certainly won't

RE: [PHP] keymappings - PHP or MySQL?

2002-04-28 Thread baldey_uk
Thanks for the suggestion Miguel, i tried it and got a result of 95 on both tests which is the underscore character. bizare Cheers Baldey_uk -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: 29 April 2002 05:27 To: baldey_uk Cc: Php-General Subject: Re: [PHP]

RE: [PHP] keymappings - PHP or MySQL?

2002-04-28 Thread Miguel Cruz
Next thing, I guess, would be to check the character encoding in use to display the character. Your browser might have a menu somewhere that tells you what it's using. 95 is the underscore in standard ASCII, after all. miguel On Mon, 29 Apr 2002, baldey_uk wrote: Thanks for the suggestion

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Miguel Cruz wrote: On Mon, 29 Apr 2002, michael kimsal wrote: Miguel Cruz wrote: But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by their browsers / hardware / corporate policy), and search

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Justin French
on 29/04/02 2:46 PM, michael kimsal ([EMAIL PROTECTED]) wrote: Can someone point me to hardware that is still in active use that can't handle javascript? what about a text-to-speech system?? I also know that older pentiums and macs REALLY chug to get through the 100's or 1000's of lines

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Jason Wong
On Monday 29 April 2002 12:46, michael kimsal wrote: Miguel Cruz wrote: Do it in JavaScript, it works and it's client side so it will be faster. But take care - using JavaScript for site navigation is tricky business. Some people don't use it, some people can't use it (not supported by

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Michael Kimsal
Mark Charette wrote: -Original Message- From: michael kimsal [mailto:[EMAIL PROTECTED]] Similarly, can someone point me to a company that specifically disables javascript as 'corporate policy'? Ford, General Motors, and Chrysler specifically disallow running of JavaScript, Java, and

RE: [PHP] lookin for a Menuing System...

2002-04-28 Thread Martin Towell
Konqueror is the only browser (that I've used) which supports per-site javascript policy (deny, allow, disable pop-ups). Actually, Opera support this too - one reason why I do a lot of my browsing in Opera or Lynx, no pop-ups :) -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Miguel Cruz
On Mon, 29 Apr 2002, Michael Kimsal wrote: Miguel Cruz wrote: On Mon, 29 Apr 2002, michael kimsal wrote: Can someone point me to hardware that is still in active use that can't handle javascript? Palm Pilot Cell phones Those don't generally support HTML either, but some WML or something

Re: [PHP] Unable to Install PHP 4.2 into RH7.0/Apache 1.3

2002-04-28 Thread Jason Wong
On Monday 29 April 2002 12:15, Richard Emery wrote: This created a stand-alone PHP binary which executes correctly from the command line (I first moved the binary PHP to /usr/sbin). However, when I execute PHP scripts from within Apache, it uses the older 4.0.1p12 version which came from

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Jason Wong
On Monday 29 April 2002 13:05, Martin Towell wrote: Konqueror is the only browser (that I've used) which supports per-site javascript policy (deny, allow, disable pop-ups). Actually, Opera support this too - one reason why I do a lot of my browsing in Opera or Lynx, no pop-ups :) Is is in

Re: [PHP] append line to text file HELP !!!

2002-04-28 Thread eat pasta type fasta
check the read/write permissions in the folder the file is located in, they should be set to read/write/execute or th file will not be created, you might also want to use this format to open file $fp = fopen(your/path/goes/here, a); your code would look like this: ? $fp =

Re: [PHP] Redirecting

2002-04-28 Thread Marius Ursache
put before your html code ? ob_start(); ? HTML... this should work. Liam MacKenzie a écrit : Hey all, Just curious as to what the best way is to move someone off your site, apart from bringing up a picture of male pornography... Seriously, I've tried using header(Location:

Re: [PHP] Redirecting

2002-04-28 Thread eat pasta type fasta
Seriously, I've tried using header(Location: http://www.php.net/;); but it returns an error saying that the headers are already set. this function will not work inside an html file or of you ECHO anything to the screen prior to its execution. An effective way to use it is as a page which

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jason Wong) wrote: Konqueror is the only browser (that I've used) which supports per-site javascript policy (deny, allow, disable pop-ups). iCab too. It allows suppression of various intrusive JS features on a global and per-host basis.

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread Richard Archer
At 12:46 AM -0400 29/4/02, michael kimsal wrote: Similarly, can someone point me to a company that specifically disables javascript as 'corporate policy'? My company does this. It's the only way to surf without being inundated with pop(up|over|under) windows. I've heard (unconfirmed) that a

Re: [PHP] append line to text file HELP !!!

2002-04-28 Thread Richard Archer
At 1:28 AM -0400 29/4/02, eat pasta type fasta wrote: you might also want to use this format to open file ? $fp = fopen(your/path/goes/here, a); $string_to_write = $newmail . \n; fwrite($fp, $string_to_write); fclose($fp); No point ignoring errors returned by functions. Errors are there to

Re: [PHP] lookin for a Menuing System...

2002-04-28 Thread David Freeman
On 29 Apr 2002 at 0:46, michael kimsal wrote: Can someone point me to hardware that is still in active use that can't handle javascript? Hardware? No. Similarly, can someone point me to a company that specifically disables javascript as 'corporate policy'? Back in 96-97, the 'no

<    1   2