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 sessi
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.
>
>
> $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 r
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.
Warning: Supplied argument is not a valid File-Handle resource
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.
>
>
> $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 t
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: Migu
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 inst
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 included
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' <[EMA
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 proble
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, p
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 / h
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 wher
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 pol
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
>> w
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] keymapp
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 Migu
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
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 line
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 su
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,
> 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 unsubscr
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
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
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:
_
put before your html code
...
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: http://www.php.net/";);
>> 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 wh
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 co
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
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 java
>On Sun, 28 Apr 2002, Richard Lynch wrote:
>>>On Sat, 27 Apr 2002, Richard Lynch wrote:
$test = escapeshellarg($cleartext);
exec("cat $test | /usr/bin/pgpe -a -t -f -r '[EMAIL PROTECTED]'
. . .
^Kb^Estdin^H^@^@^@
>>>
>>>$cleartext is the actual text? What if you used '
101 - 138 of 138 matches
Mail list logo