"Other users on the same server *shouldn't* be able to include() in this
way"
How?
Would their $_SERVER['HTTP_HOST'] not be the same?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to those who helped me last time about creating image, but now there
is another problem...
I'm making a thumblain like this:
$base_size = 300;
$size = GetImageSize($image1);
$kof = ($size[0] > $size[1]) ? $size[0] : $size[1];
$koef = ($base_size / $kof);
http://myadress/php/mypage.php?modo=123&color=red&size=3
and to get
echo $_GET['modo']."";
echo $saci_color."";
echo $saci_size."";
===
Tested it! It worked!
G stands for GET
You can use P or C for POST or COOKIE
The order of gpc is important the later overwites the former
Hi Randy,
Just copy the following code and execute it, it works as you
require, tested works fine.
string$i : $strDiv[$i]";
}
?>
- JFK
kishor
Nilgiri Networks
On Wed, 31 Jul 2002, Randy Johnson wrote:
> Hello,
>
> I would lik
All included scripts inherit the variables of the parent script, so you
could test for numerous server variables like the name of the parent script
(PHP_SELF), or the domain name being used, etc etc. If it's not what you
expected, spit out an error.
something like
$_SERVER['HTTP_HOST'] might
To add to this - you should place critical information (like passwords, etc)
outside the document root. That way, even if the server is mis-configured,
others wont be able to easily gain access to those files
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, A
On Thursday 01 August 2002 15:28, Lord Loh. wrote:
> I suppose include() can be used to include files from remote systems(not on
> WINDOWS).
>
> So, How can I protect my script from unauthorised inclusions ?
>
> A webmaster on the same server can always use a path like
> "/home/htdocs/.../config.p
I suppose include() can be used to include files from remote systems(not on
WINDOWS).
So, How can I protect my script from unauthorised inclusions ?
A webmaster on the same server can always use a path like
"/home/htdocs/.../config.php" and include my config .php which contains my
database passw
It's called Google Magic.
I don't really know the answer to your question. Google does a lot of
really neat things (like converting pdf to html).
tyler
On Thu, 1 Aug 2002 08:17:35 +0100
"Lord Loh." <[EMAIL PROTECTED]> wrote:
> Google uses php to make a software download and installs it throug
Google uses php to make a software download and installs it through the
browser!
How does this work ?
Lord Loh.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You'd need to show us some code, preferably not 100's of lines perhaps
put it up on the web somewhere so we can see the source code or something.
Justin French
on 01/08/02 2:16 PM, Sailom ([EMAIL PROTECTED]) wrote:
> I am a newbie in this area so please be patient for my silly question :)
I am a newbie in this area so please be patient for my silly question :)
I have a bad experience coding in PHP. I create a home page in PHP,
index.php. Within this PHP code, it calls functions which are placed in
other file. I notice that the page title changes to something that I don't
want i
mailq's empty. i'll try a real address and see if i get a bounce notice.
* Manuel Lemos ([EMAIL PROTECTED]) wrote:
> Hello,
>
> On 07/31/2002 11:55 PM, Dan Radom wrote:
> >nope. all that did was prodice the following warning... Jul 31 20:53:47
> >mars sendmail[20790]: g712rkA20790: Authentica
> Hey php-general,
>
> maybe somebody can explain me what happens in this line? because how
> mutch i read it..thought i don't get it :)
>
> list ($date, $laik) = split (' ', $row['time'], 2);
Well, it is rather inefficient code. Applying a regex just to break a
string up on a single chara
Hello,
On 07/31/2002 11:55 PM, Dan Radom wrote:
> nope. all that did was prodice the following warning... Jul 31 20:53:47 mars
>sendmail[20790]: g712rkA20790: Authentication-Warning: mars.radom.org: nobody set
>sender to [EMAIL PROTECTED] using -f
Are you sure the message is not stuck in the
Petre,
why not use javascripts window.open something like this link to open your
app
http://yourapp.com','yourappname','toolbar=no');
return false;">link to your app.
this would open a new window without the back and forward buttons.
"Petre" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECT
Split() chops up the string (param #2) according to param #1 (in this case,
space is the delimiter). Param #3 says, don't chop more than two bits. It
then returns an array
list() assigns $arr[0] to the first variable, $arr[1] to the second, etc.
HTH
Martin
-Original Message-
From: Manta
Since 4.1.? the way things worked changed... Instead of using $album you
need to use $_GET['album']
you can default back the old behaviour with a php.ini change, but the new
way is prefered
andrew
- Original Message -
From: "Bruce Riddle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
tony,
regarding problem one, it looks like there is a problem in the code near:
for ($g = 0; $g < $num_lyrics; $g ++) {
try doing:
for ($g = 0; $g <= $num_lyrics; $g ++) {
As for problem two, it looks like you have your color variable set in the
for loop thereby resetting the color variable to
Hey php-general,
maybe somebody can explain me what happens in this line? because how
mutch i read it..thought i don't get it :)
list ($date, $laik) = split (' ', $row['time'], 2);
--
Best regards,
Mantas
Contacts:
[EMAIL PROTECTED]
--
PHP General Mailing L
x86-3 being added to access control list
I've recently updgrade my Apache Webserver to
1.3.26 and opted to upgrade php form 3.x.x to 4.2.2.
I have succesfully built it all and things are stable.
I have been running the "album" picture database which
is included as an example with the php3 distro.
On Thursday 01 August 2002 05:50, Aaron Paxson wrote:
> That is what I had orginally thought. However, in an article I found about
> mail(), he said it will also work on a linux box that does not have
> sendmail configured.
In my experience, if php does not find sendmail when it is configured an
nope. all that did was prodice the following warning... Jul 31 20:53:47 mars
sendmail[20790]: g712rkA20790: Authentication-Warning: mars.radom.org: nobody set
sender to [EMAIL PROTECTED] using -f
dan
* Manuel Lemos ([EMAIL PROTECTED]) wrote:
> Hello,
>
> On 07/31/2002 10:47 PM, Dan Radom wro
How about a file wilh all the directories and you compare its contents
using similar_text() or soundex/metaphone() with the url/directory that
failed?
Shouldn't be too hard to implement.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Tim Luoma" <[EMAIL PROTECTED]> escre
Hello,
On 07/31/2002 10:47 PM, Dan Radom wrote:
> I'm having provblems with the following script...
>
> mail("[EMAIL PROTECTED]", "www form submission", $message, "From: $email");
>
> ...the variables are being POSTed from a form, which does make it to sendmail.
>sendmail logs the following..
Hi all!
I know this is not the first (and will definitely not be the last) time
this question is asked here, but since I was unable to Google anything
out on the topic, does anyone know of any kind of iCalendar support for
PHP? I'd much prefer a class to a module because I'm working on a
proj
As I assume most of you know, mod_speling (sic) is a feature of the
Apache httpd that will suggest possible corrections to URLs.
i.e. if you look for /sidebar/ on my site you'll get a 404 because the
actual URL is /sidebars/
The problem is that some sites don't enable mod_speling and some don
hi mate , i sorter just need a regular expression only when loading it , i
use tidy to reformat it back to go into the database its how it handles
tags, can anyone help ?
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 11:59 AM
To: electr
I'm reminded of a reasonable quote:
"It's easy to write HTML, and impossible to parse it" Because HTML is *SO*
easy to write, and has so many options, and is easy to screw up AND have
browsers still work, it's totally evil to parse.
You end up with massive regular expressions, or a state engine
--- Begin Message ---
Hello,
I have just recompile and reinstall these sources code package...
But I found I need to add these line into httpd.conf :
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
Must I add these line into httpd.conf under apache 1.3
check out strip_slashes() or stripslashes() [can never remember which one!!]
in the manual.
Justin French
on 01/08/02 5:50 AM, Nathan Kline ([EMAIL PROTECTED]) wrote:
> this seems so obvious yet it is giving me problems.
>
> I have a text area in a form that is passed to a php page to be
> w
I'm having provblems with the following script...
mail("[EMAIL PROTECTED]", "www form submission", $message, "From: $email");
...the variables are being POSTed from a form, which does make it to sendmail.
sendmail logs the following...
Jul 31 19:32:47 mars sendmail[20605]: g711Wlu20605: from=
on 01/08/02 3:42 AM, Petre ([EMAIL PROTECTED]) wrote:
> Well, OK, then, How do you design the app NOT to allow the form to POST
> again when the user hits "BACK"
The PHP script that process' the form submission shouldn't be an actual page
that sends stuff to the browser.
1. form.php POSTs to p
Tomasz Zolnierczyk wrote:
>
> subscribe [EMAIL PROTECTED]
>
> =
> Tomasz Zolnierczyk
>
> "The Path Of Excess Leads To The Tower Of Wisdom"
> - W. Blake
>
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
i sorter need a preg example i'm not very good at it , and its for a wysiwyg
dhtml editor , it reformats those tags if the quotes are there when i load
the content and stuffs the code
-Original Message-
From: Joel Boonstra [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 01, 2002 6:18 AM
Hello,
On 07/31/2002 04:17 PM, Aaron Paxson wrote:
> I am currently using PHP 4.2.2 with Apache 1.3 on RedHat 7.2. My email
> server is Exchange 5.5sp3
>
> SMTP is set correctly in my php.ini file, and have restarted Apache.
> However, I still cannot send out a simple text email:
>
>
>
> The
Question.
I have a problem with forms not been cached when they click submit... And then the
back button,
I know of some fields that can not be cached (password),
I am thinking I am not doing something that asks it to cache..
Anyone have any tips or a place to start looking.
Thanks
Looked in the archive and manual and came up with no luck, so here it goes.
My end result is to save the output of a PHP script as an HTML file in a specified
directory on a WIN2K server.
my script is such...
http://myserver.net/extranet/archive.php?jobid=1";;
$fd = fopen( $filename, "r" );
Thanks, Tyler, I will if I have to, but is there someone out there who has
done this on Linux?
cheers
Kirk
"Tyler Longren" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Use apache 1.3.26 and it'll work. Just change the configure line:
> ./configure --with-
Hello.
Say me pls, are there method to enable DBM support in loaded Windows binaries of PHP
4.2.1?
I have "Fatal error: Call to undefined function: dbmopen() in ..." my .php file... :((
Nashev ([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
I deal with student machines that I do not own. I have to work with
what's in front of me. Unfortunately. The activation script for 10.2 on
entropy.ch did the trick by the way.
I also need to change register_globals from off to on in version 4.2.2.
Any help on how to do that with the PHP modul
Use apache 1.3.26 and it'll work. Just change the configure line:
./configure --with-mysql --with-apxs=/path/to/apxs
Apache 2 is troublesome.
tyler
On Wed, 31 Jul 2002 17:27:30 -0500
"Kirk Babb" <[EMAIL PROTECTED]> wrote:
> Could somebody help me with this?.I posted yesterday with only on
Could somebody help me with this?.I posted yesterday with only one
reply...please read the following and let me know where I'm going wrong.
THANKS!!!
-Kirk
BEGIN MESSAGE
>
> Yes, I configured apache with mod_so enabled and the
> module is there. Still crashes on make.
>
>-Kirk
You chose t
Thanks man
Kevin Myrick
www.ultimatealchemy.com
--- Nick Wilson <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> * and then Kevin Myrick declared
> > So my specific problem is this: How do I create a
> new
> > user account on a *NIX system to have permissio
That is what I had orginally thought. However, in an article I found about
mail(), he said it will also work on a linux box that does not have sendmail
configured.
If that's the case, how do I get sendmail to work with Exchange??
Aaron
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Kevin Myrick declared
> So my specific problem is this: How do I create a new
> user account on a *NIX system to have permissions to
> send and receive email, for a web based email system.
I think you'd need to take a look at the exec
> So my specific problem is this: How do I create a new
> user account on a *NIX system to have permissions to
> send and receive email, for a web based email system.
In theory, and in my case, I couldn't have PHP do this because PHP is
running on apache with the user status of nobody. So here i
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <'[EMAIL PROTECTED]'>
Sent: Wednesday, July 31, 2002 3:03 PM
Subject: Fw: [PHP] dir to array? - SOLVED
> *LOL* I was just about to post an answer for you but it looks like you
got
> it figured out. Si
Specific problems? Ok, I think I can do something
about that...
I am not sure how many emails he can handle, but I am
pretty sure he can create as many as he wants.
Basically unlimited accounts. I am pretty sure that
the permissions would be aimacable to do that, as in
755 permissions on his serv
Also, you could use print_r($obj);
to look at everything in the class, with arrays already expanded for you.
http://www.php.net/manual/en/function.print-r.php
jerome
>From: Marty McGowan <[EMAIL PROTECTED]>
>
>PHPers,
> In a genaology application, where I add individuals to
>an array:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Kevin Myrick declared
> I also want to do a signup form for his site so when
> people join the "community" forum, they will
> automatically be given an email username and password
> for his site.
>
> Any help would be very greatful.
Maybe code will help...
> My problem is:
> when printing the Class Variables using the "standard" approach:
> =
> function print_vars($obj) {
> $arr = get_object_vars($obj);
> while (list($prop, $val) = each($arr))
> {
>echo "$prop\t$val\n";
> }
> }
> =
Try this:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
I break out in a cold sweat just thinking about regex, so I thought I'd
ask you if there was an easier way to do this:
I want to look through all of the files in a directory and extract a
certain variable from each.
This i
Use is_array() to see if it's an array. If it is, then loop through it and
display the contents...
---John Holmes...
- Original Message -
From: "Marty McGowan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 4:15 PM
Subject: [PHP] Printing a PHP Class
> PHPer
Ok, I admit, I am relatively new to PHP.
But I have some good ideas of what I want to do, and I
have a client who wants to have a portal for his
LANParty Site, and I am working on that, somewhat
successfully. I am trying to use PHP-Nuke, but it
won't load on his FreeBSD server. Any ideas?
I also
I got it fixed, thanks again. Just in case anyone else needs help with this
type of item look at readdir() at http://www.php.net
Jas
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday 01 August 2002 03:00, Jas wrote:
> > Not sure why this
[snip]
My question is:
How does one print out the "Array"?
[/snip]
Try print_r
http://www.php.net/manual/en/function.print-r.php
HTH!
Jay
I took a pain pill, why are you still here?
***
* *
* Texas PHP Developers
Sorry to bother you.
That actually was my mistake. I was looking too hard elsewhere; it happens.
Thank you Joseph.
alex
Jason Wong wrote:
> On Tuesday 30 July 2002 04:47, Joseph Rosenblum wrote:
> > Do you know you have a typo in that conditional there? Was that your
> > real code? You missp
PHPers,
In a genaology application, where I add individuals to
an array:
$everyone[] = new Individual($id);
I'd like to print the indiviuals' attributes. Some of these are
in array's themselves: like a list of event's in one's life.
My problem is:
when printing the Class Variables u
You might also want to add a "quality" factor to the imagejpeg() function if
the image "as is" looks a bit ratty.
$factor="100" // or another suitable number between 100 and 0
imagejpeg($im, "test/im.jpg",$factor);
hope this helps.
Hugh
- Original Message -
From: "Andrew Chase" <[EMAIL PR
> hi guys i now have a problem with urls i need to remove the quotes from both
> href="" and src=""
>
> so
> needs to be and i cant
> remove quotes from all string matches :|
Someone mentioned this already, but you should really know that if you
remove quotes from your HTML attributes, your H
On Thursday 01 August 2002 03:17, Aaron Paxson wrote:
> I am currently using PHP 4.2.2 with Apache 1.3 on RedHat 7.2. My email
> server is Exchange 5.5sp3
>
> SMTP is set correctly in my php.ini file, and have restarted Apache.
> However, I still cannot send out a simple text email:
I believe th
addslashes($st); before you put the string into the d-base
stripslashes($str); after you retrieve the string from the d-base
Otherwise MySQL is going to do its best to limit the illegal characters on
its own. :)
-Kevin
- Original Message -
From: "Nathan Kline" <[EMAIL PROTECTED]>
To: <[E
To write a GD image to disk as a jpeg, do this instead:
$im = imagecreate(50,100);
imagejpeg($im, "test/im.jpg");
You don't need to use file handlers. Of course, without doing anything like
adding text or lines to $im, it will just be written to disk as a blank
image. :)
-Andy
> -Origin
If it adds the slashes, before u echo it back out, try stripslashes($var)
first
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
- Original Message -
From: "Nathan Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 1:50 PM
Subject: [PHP] text ar
On Thursday 01 August 2002 03:00, Jas wrote:
> Not sure why this isn't working, any help is appreciated. I am trying to
> read the files in a directory and place them into an array. Here is the
> code:
>
> /* Function to create array of directory contents */
> function dCNTS($files) {
> $dir =
On Thursday 01 August 2002 02:11, mp wrote:
> I want to create simple image...
> I execute this script:
>
> $im = imagecreate (50, 100);
> $fp = fopen("test/im.jpg","w");
> fwrite($fp, imagegd($im));
> fclose($fp);
>
> But there is some problems about this...
> Could somebody help me?
Only if
www.php.net/stripslashes
---John Holmes...
- Original Message -
From: "Nathan Kline" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 31, 2002 3:50 PM
Subject: [PHP] text area with quotes
> this seems so obvious yet it is giving me problems.
>
> I have a text area in
Actually a meta refresh isnt a good idea for this example. id personally use
a header, because then there is no entry in the back list for the processing
page, unlike if u used a meta refresh, which, if i am correct, leaves an
entry.
Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca
-
this seems so obvious yet it is giving me problems.
I have a text area in a form that is passed to a php page to be
written to a database. first though It displays the contents of the
form in a preview page. then if everything is good the user click the
button and it write to the DB. I pass th
Howdy List,
Well, apparently we are no longer permitted to receive "personal" emails where I am
working, so I'm afraid I'll have to part ways with the lot of you. It's unfortunate,
considering I think this one of the best places to find information about PHP (and
more!) on the internet. It s
";
?>
Rick
A sense of humor can help you over look the unattractive, tolerate the
unpleasant, cope with the unexpected, and smile through the unbearable. -
Moshe Waldoks
> From: "Randy Johnson" <[EMAIL PROTECTED]>
> Date: Wed, 31 Jul 2002 15:26:15 -0400
> To: <[EMAIL PROTECTED]>
> Subject: [PHP
Give this a whirl:
\n";
}
?>
I haven't tested it, but in theory it should find the length of the string (26), loop
through it as long as $i is less than 26, incrementing 8 at a time. Each time it goes
through, $str_array[] is fed a new element, which is a substring of $string that
starts at
Excellent ideas Warren!!
Being the IT Systems Administrator, I administrate everything from the
firewalls to the exchange/DNS servers. Everything seems to be okay there.
In doing another test, I was able to send out an email via my SMTP server to
other domains, just not to me. It apparently di
Outgoing email requires access to a SMTP client or relay. To prevent these
relays from being used for SPAM, most shops will restrict which IP's can use
the relay. Suggest you contact the administrators of your exchange server,
and make sure the IP is on the list of eligible IP's for using the re
Hello,
I would like to be able to do the following but have not figured out a way to handle it
$string="abcdefghijklmnopqrstuvwxz";
I would like to divde the above string into separate strings 8 charactes long , example
$string1=abcdefgh
$string2=ijklmnop
$string3=qrstuvwx
$string4=yz
if the
I am currently using PHP 4.2.2 with Apache 1.3 on RedHat 7.2. My email
server is Exchange 5.5sp3
SMTP is set correctly in my php.ini file, and have restarted Apache.
However, I still cannot send out a simple text email:
The function returns true, but no delivery is made. In looking in my
Exc
I want to create simple image...
I execute this script:
$im = imagecreate (50, 100);
$fp = fopen("test/im.jpg","w");
fwrite($fp, imagegd($im));
fclose($fp);
But there is some problems about this...
Could somebody help me?
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
Not sure why this isn't working, any help is appreciated. I am trying to
read the files in a directory and place them into an array. Here is the
code:
/* Function to create array of directory contents */
function dCNTS($files) {
$dir = opendir("/path/to/directory/");
while($imgs = readdir($d
You are correct Chris.
However if you designed your application as the generic
Master-Detail-(write changes) structure
you would merely have to use
echo ""; to take
you back to the master set, assuming js is turned on, and that is the flow of your app.
I mainly design in an intranet enviro
Exactly.
The only way I've seen that this can be prevented is if the form action
is PHP_SELF, so, you call the page onto itself and use a isset($submit),
but I have reasons for not going that route, one being that I have
already have a navigation laid out, and changing that will be a nightmare!
OK, im having some minor problems with my site.
In artist.php (http://members.lycos.co.uk/ajohnh/artist.php - Source at:
http://members.lycos.co.uk/ajohnh/source/artist.txt) If for example you view
lyrics by Weird Al Yankovic
(http://members.lycos.co.uk/ajohnh/artist.php?id=1) You'll see that the
On processing page (I.e the form's action page - where the stuff is entered
into the db) set another session var so that your app knows that the form
has been submitted, data entered etc. The actual form page should have some
extra logic at the top which checks for this extra session var, redirect
An Idea I have just had but not tested.
To start:-
Page1 - Input Form
Page2 - Data Handling (i.e. processing the form)
Page3 - Redirect handler.
So, User fills in form on Page1 then submits it. Page2 then processes this
data and if it handles it correctly it simply sends a redirect (something
l
Here's what I think may work, not sure though..
set a session variable form_submitted=false before displaying the form for
input.
when posted, check if form_submitted==false, then only set the session
variable form_submitted to true and process it. Else show an error message
If the user hits
Well... you simple can't unless you take advantage from all the
wonderful features of PHP like it's capability to know where the request
comes from. Another interesting point would be to see if your program is
made correctly, so your script(s) will handle just the right stuff. That
is, if you poin
There is also a PEAR SOAP package available:
http://pear.php.net/package-info.php?pacid=87
Some web services also use XML-RPC, a simpler predecessor to SOAP:
http://www.xmlrpc.com
There are a couple of PHP classes available for implementing XML-RPC clients
and servers:
http://phpxmlrpc.source
> Page1 (fill in data)->Page2(write data, instant redirect to p1,
> unless dies from php/mysql)
> Then the only way to repost, is to push the forward button.
Unless, of course, they hit the "Submit" button again and I think
that was the point the original poster was getting at. If the user
cann
I hear you, but how do I know if the POST comes from a valid form
submit, or from a "back" ? I cannot simply unset the $_POST vars, as
that will prevent anything from being posted correctly, right?
César Aracena wrote:
>I think that would be easy just by UNSETTING or emptying the variables
>t
I do it this way
Page1 (fill in data)->Page2(write data, instant redirect to p1, unless dies from
php/mysql)
Then the only way to repost, is to push the forward button.
-Original Message-
From: Petre [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 11:43 AM
To: Martin Cliffo
If you write your own browser, who would use it? And without a back button -
nobody
"Petre" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> HI
> Is there a way I can disable the client's browser back button, forcing
> them to use the navigation I built into the
I think that would be easy just by UNSETTING or emptying the variables
that the form passed after they are processed. Do I make sence?
César
> -Original Message-
> From: Petre [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 2:43 PM
> To: Martin Clifford
> Cc: php-general
> Su
Well, OK, then, How do you design the app NOT to allow the form to POST
again when the user hits "BACK"
Martin Clifford wrote:
>There is never a way to disable back, forward, home, etc buttons. They all have
>shortcuts that will ALWAYS work, so there's really no point. Additionally, it's al
There is never a way to disable back, forward, home, etc buttons. They all have
shortcuts that will ALWAYS work, so there's really no point. Additionally, it's all
nice and good that your site works fine without using cookies, and don't take this
offensively, but if the client cannot use the
If all you need is some generic encryption that doesn't require mcrypt, you
might want to take a look at a crypto extension I wrote called
cryptopp-php. It does everything that the mcrypt extension does and might
be a touch easier to use as far as syntax and such goes. (Plus, it works on
Wind
HI
Is there a way I can disable the client's browser back button, forcing
them to use the navigation I built into the page?
Ideally, when they try to press "BACK" on browser, a popup asking them
to use the navigation instead would win first prize.
The reason I'm asking is again to do with sessi
Yeah probably, you might need to add a 1 or 2 second delay to the meta
refresh...
Matt Babineau
MCWD / CCFD
-
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-Original Message-
From: Chris Boget
>
Pardon my ignorance, but wouldn't this immediately send the browser onto the
next page before it had the opportunity to get to and run this:
>
> location.href='newpage.php?jscript=on';
>
? If that's the case, wouldn't you want to delay the refresh by a few seconds to
allow the javascript
You can't tell from the server side, but you can have a page send them
to a different page depending on whether or not Javascript is enable.
You could have a temp page with a Javascript redirect that is kicked off
with an onLoad event handler and also have a meta refresh on the same
page the ex
You could use a dummy page, with
location.href='newpage.php?jscript=on';
What this should do is redirect if javascript is enabled or disabled
giving you a URL variable to parse. I have not tested it but
theorectically could work.
Matt Babineau
MCWD / CCFD
---
1 - 100 of 159 matches
Mail list logo