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
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
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
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
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,
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
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);
?
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
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) ||
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 =
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
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:
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
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
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
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
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
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,
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
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
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
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]
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
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:
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
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]
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
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
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
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
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
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
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
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
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
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 =
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:
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
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.
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
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
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
101 - 142 of 142 matches
Mail list logo