On Sat, 30 Mar 2002, Mantas Kriauciunas wrote:
> I have few users in my small page. And it goes with ID numbers. I
> did auto increasement. And i think all the settings are ok. but in
> phpMyAdmin it shows ID numbers starting from 5 and i have 10 users
> so when i deleted row(user) with ID
Hello PHP friends
I went searching (Core PHP Programm, php.net and google) for an
answer, but didn't find anything that did what I want, namely: Use PHP to
set the style sheet for a site.
I am trying this method: Register a global variable ($CSS) using a FORM.
Currently this does not w
Hi People,
I just installed PHP again, and am having some problems with a few things.
When Posting to a form, veriables do not travel across the pages. I have
checked the PHP.INI for something but nothing seems to change this.
... ALSO ...
My redirect scripts have stoped responding.
Any Ideas??
Hey [EMAIL PROTECTED],
I have few users in my small page. And it goes with ID numbers. I
did auto increasement. And i think all the settings are ok. but in
phpMyAdmin it shows ID numbers starting from 5 and i have 10 users
so when i deleted row(user) with ID number 9 i have id number goin
On Saturday 30 March 2002 12:39, Jonathan Duncan wrote:
> Yeah, I have played with the eval function a bit, but it didn't seem to
> help much. Then again, I haven't ever used the eval function before so I
> may not know how to properly implement it. I have read the page for eval
> on php.net sev
On Fri, 29 Mar 2002, Jonathan Duncan wrote:
> Yeah, I have played with the eval function a bit, but it didn't seem to
> help much. Then again, I haven't ever used the eval function before so
> I may not know how to properly implement it. I have read the page for
> eval on php.net several times a
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Justin French) wrote:
> Am I missing something? I'm trying to use vars set in my config.php file in
> a function, and can't seem to do it without using $GLOBALS["varname"]
> Is there a way to make global vars available in each function, or is
Hi,
Am I missing something? I'm trying to use vars set in my config.php file in
a function, and can't seem to do it without using $GLOBALS["varname"], which
is a bit of a pain in the
---config.php---
$var1 = 1;
---
---something.php---
function foo
{
if($var1)
{
echo
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Thalis A. Kalfigopoulos) wrote:
> Someone with the proper authority should probably put on the manual pages
> that to get the gettext functionality you have to configure with the
> --with-gettext flag.
Did you know that anyone is allowed to a
Yeah, I have played with the eval function a bit, but it didn't seem to help
much. Then again, I haven't ever used the eval function before so I may not
know how to properly implement it. I have read the page for eval on php.net
several times as well as the very helpful examples, but whenever I
On Saturday 30 March 2002 11:16, Jonathan Duncan wrote:
> These variables are populated and assigned in a function:
> (This is just an example. In actuality these variables
> are populated using other means.)
> -
> $othervars = " $service
I have just updated my copy of PHP and changed the INI file. Some of my redirect
commands no longer work.
Any Suggestions.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
Jason,
That is a good point and that being the case, following is my code.
Thanks,
Jonathan Duncan
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
$account
$service";
This is file that calls the above function:
(The lines with the *s are supposed to take
the data from the variables and then proc
Someone with the proper authority should probably put on the manual pages that to get
the gettext functionality you have to configure with the --with-gettext flag. The
--with-XYZ comes in almost all pages that require an additional flag, so at first I
was mislead into believing it is compiled i
On Saturday 30 March 2002 05:32, Jonathan Duncan wrote:
> I am trying to create an HTML Table which has TH headers which are
> different depending upon the link clicked to access the page. Also, the
> content of the TD's below the headers would be different depending on the
> headers and dependin
As replied above, or
echo(round($money*100)/100);
Just to point out another way - the previous suggestions are better
because they most probably involve way less math on the server.
Bogdan
Ian Wayne wrote:
>Hi all.
>
>I can't believe I'm stuck on this - seems to me there ought to be an easy
A couple of ways. The most flexible is probably to use number_format()
since that lets you set the separators as well.
printf("%.2f",$value) would also do it.
-Rasmus
On Fri, 29 Mar 2002, Ian Wayne wrote:
> Hi all.
>
> I can't believe I'm stuck on this - seems to me there ought to be an easy
On Fri, 29 Mar 2002, Ian Wayne wrote:
> I have a table of accounts and I want to display all the money amounts
> to 2 decimal places. How do I do this? Should I use floatval (which I
> can't use because it's CVS only)? Or is there some other way?
http://php.net/printf
miguel
--
PHP General
Hi all.
I can't believe I'm stuck on this - seems to me there ought to be an easy
way to do this, but I've been hunting through the literature and I just
can't find it. If anyone can point me in the right direction it'd be much
appreciated...
I have a table of accounts and I want to display all
Complex arrays inside quoted strings either need to be escaped with {}'s
or drop out of the quoted string to display them. ie.
echo "".$week[$i][$j].": ".$week[$i][$k][0]."";
or
echo "${week[$i][$j]}: ${week[$i][$k][0]}";
-Rasmus
On Fri, 29 Mar 2002, David Johansen wrote:
> Ok, I have a que
On Fri, 29 Mar 2002, David Johansen wrote:
> Ok, I have a question about arrays and indexes. Something weird happens when
> I try this:
>
> echo "week[$i][$j]: $week[$i][$k][0]";
If you're array subscripts inside "double quotes", then use {braces}
around the entire variable:
echo "week[$i][$
Ok, I have a question about arrays and indexes. Something weird happens when
I try this:
echo "week[$i][$j]: $week[$i][$k][0]";
Of course $i and $j have their appropriate values. It just prints out
Array[0][4] (0 and 4 being the values of $i and $k, but if I do the code
below it works just fine.
> I am in a dilemma right now between "If it ain't broke, don't fix it" and
"Looking
> over my shoulder". I am trying to determine whether it makes more sense
to use
> ML for maintaining configuration files.
Compiled program ==> ML configuration file
Interpreted program (i.e PHP) ==> include
That's the way it works since Apache runs as a single user id. There is no
way PHP can escape this. You might look into setting this user up with the
open_basedir restriction instead of safe_mode. Under open_basedir the
user's scripts can only manipulate files under the directory you specify.
You
I have found it safer to use backticks on all of my table and field
names. I doubt that's the problem but it's a good practice and
something to try anyway.
INSERT INTO `tblUserInfo` (`UserID`, `Complex`, `Contact`,.. etc..
By the way what are those complicated looking '".$var."' for? You
shoul
Good to know I'm not going crazy. I found the error in the previous
function. I failed to end an echo statement and the next quote on that page
was this statement. Doh.
-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 2:08 PM
To: Eric Kilgore
Cc
I'm using Apache-win-php4.1.3 and can't create session
variables by using session_start() and $_SESSION['...']. I'm new
to php, please help.
Next week I tried php4.1.1 and all was
On Fri, 29 Mar 2002, Eric Kilgore wrote:
> What's wrong with this code that it would give this error?
>
> Parse error: parse error, expecting `','' or `';''
>
> $query = "INSERT INTO tblUserInfo (UserID, Complex, Contact, Address, State,
> City, Zip, Phone,
>Fax, email, fee) VALUES ('".$
I ran it through my PHP. Worked fine.
You may wish to close each line with a ".
-Original Message-
From: Eric Kilgore [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 3:46 PM
To: php-general (E-mail)
Subject: [PHP] Can you find the parse error?
What's wrong with this code that
On Fri, 29 Mar 2002, Andrew Korsak wrote:
> I want to read user cookie with javascript and pass it to PHP.
PHP already gets the cookie information. What do you need JavaScript for?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There are a couple of carriage returns, but this has never affected any of
my other code. I'm using dreamweaver.
-Original Message-
From: Henning, Brian [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 1:55 PM
To: 'Eric Kilgore'
Subject: RE: [PHP] Can you find the parse error?
is
Security Alert! PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a
page will only be served up if the REDIRECT_STATUS CGI variable is set. This variable
is set, for example, by Apache's Action directive redirect.
You may di
Hello.
I got a question.
Is it possible to pass javascript variables to PHP without user's
activity, using post method?
I want to read user cookie with javascript and pass it to PHP.
I guess I will need to use meta tag to do this?
--
Message Info.
Date: Friday, March 29, 2002
Time: 4:
What's wrong with this code that it would give this error?
Parse error: parse error, expecting `','' or `';''
$query = "INSERT INTO tblUserInfo (UserID, Complex, Contact, Address, State,
City, Zip, Phone,
Fax, email, fee) VALUES ('".$UserID."', '".$Complex."', '".$Contact."',
'".$Addres
I'm using Apache-win-php4.1.3 and can't create session variables by
using session_start() and $_SESSION['...']. I'm new to php, please
help.
Next week I tried php4.1.1 and all was working well. Now, I'm using
php4.1.2, as an Apache module and wit
Perhaps simply store a standard English date as the index for a single
table (ie. 032902 or 03/29/02) along with a `time` and `comments` field.
Use PHP's extensive library of built-in date/time functions to translate
the date to timestamp and vice versa.
---
CREATE TABLE `test_calenda
I am trying to create an HTML Table which has TH headers which are different
depending upon the link clicked to access the page. Also, the content of
the TD's below the headers would be different depending on the headers and
depending on the link clicked.
I have sorted out many of the details, b
One of our customers installed a CMS application scripted in PHP and
it creates a lot of new files. These are all getting created under
the userid of nobody (the webserver's id) instead of the user's id
(the scrip's id) which makes it somewhat difficult to run the
application in safemode becau
## Heres where I add images to DB with field type of BLOB for image
if ( ($submit == 'Add Image') && ($userid != 'demo') ){
if ($image != 'none'){
$name = strtr($name, "'", " ");
$image = addslashes(fread(fopen($image, "r"), filesize($image)));
mysql_select_db($dbase) or die(
Ok, I'm still kind of new to this and I just have a question on how I should
go about implementing something. I need to make a calendar type thing with
different times in each day and store some values for each time in a
database. I was just wondering what would be the best way to do this. Here's
hmm.. but there must be some other way to do this. I know one site which is
handling this problem.
check out http://www.web.de
Andy
"Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > My question is:
> > Is there a way to close this hole
Oops ... That's not balanced. Add another ) at the end of the if.
/bsh/
Billy S Halsey wrote:
> Try an extra layer of parens:
>
> if (($fp = fopen("http://www.anyurl.com";, "r") == NULL)
> {
> echo "not valid";
> }
> else
> {
> echo "this is a valid url";
> }
>
>
> Roberts, Mark wrote
Hello,
I need a php script that checks if the there is a cookie set with the users
username and if not
it brings you to an other page and telling you that you are not loged in!
thanks for any help
alain kumschick
[EMAIL PROTECTED]
http://www.kumschicknw.com
--
PHP General Mailing Li
Try an extra layer of parens:
if (($fp = fopen("http://www.anyurl.com";, "r") == NULL)
{
echo "not valid";
}
else
{
echo "this is a valid url";
}
Roberts, Mark wrote:
> I am using the following to verify a url:
>
> if (!$fp = fopen("http://www.anyurl.com";, "r"))
> {
> ec
I am using the following to verify a url:
if (!$fp = fopen("http://www.anyurl.com";, "r"))
{
echo "not valid";
}
else
{
echo "this is a valid url";
}
I always get a not valid message. What am I doing wrong? Is there a better
way to do this?
Mark Roberts
Sr. Systems Analyst
LanAp
Though I just made a flat database (one table only) the attached article was
useful in learning how to put together a mysql database using php.
Hope this helps,
Hugh
- Original Message -
From: "GENESiS DESiGNS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 29, 2002 2:22
mediumtext is long enough, but you are putting binary data into it, not
text. You should be using mediumblob. The limit is 16M for that column
type.
-Rasmus
On Fri, 29 Mar 2002, Jay Paulson wrote:
> Hello--
>
> I can't quite seem to get this to work. What I'm trying to do is pull data
> out
Hello--
I can't quite seem to get this to work. What I'm trying to do is pull data
out of a MySQL db of an image that I had put into the db. When I originally
put the image into the db I had to use the "addslashes" function so that it
would be inserted into the db correctly. Now when I select
DAMMIT.. It's too early, I knew I was gonna make that mistake..
GET/PUT/POST, what's the difference right? Sorry, post would be the
right method to use.. agh..
- Joel
-Original Message-
From: Liam [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 2:27 PM
To: [EMAIL PROTECTED]
Su
I think you'll find this works better if you use "PUT" as your method,
as opposed to POST, which is for File Uploads.
(http://www.php.net/manual/en/features.file-upload.php#features.file-upl
oad.post-method)
Is your code ever actually getting into the 'if' construct, if not,
that's probably you
I mean:
$this->mFileArray:
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 1:13 PM
To: 'Eric Starr'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: function calls...Incorrect output...What am I
doing wrong?
Your problem is that you reference $mFileA
Hello,
I checked the developer database, and I'm not saying it isn't in there...
but I couldn't find it, so here it goes:
Here is the problem... given the code below, I would expect a fill color of
73% cyan, 26% magenta, 5% yellow and 0 black. However, the 73% cyan will
default to zero unless y
> My question is:
> Is there a way to close this hole and let the session expire as soon as only
> the active window
> is closed?
Nope, that's how browsers work. Your only real way to fix it would be to
expire a session after a certain amount of inactivity. That's what the
PHP sessions do by de
Your problem is that you reference $mFileArray. You should reference
$this_.mFileArray:
for ($i=0; $i < count( $mFileArray ); $i++) // iterates through the array
Therefore, count($mFileArray) is 0, so the loop ends without an explicit
exit
-Original Message-
From: Eric Starr [mailto
Hi there,
I recently discovered a hole in my and a lot other apps on the net.
There must be a workaround, becaus I also found apps which work fine.
The sittuation is as follows:
After signing in, I am setting a cookie with a unique session id.
Cookie parameter is set to 0. The session expires as
Please notice that I am attepting to call a function "hitCounterPosition()"
in the constructor "Counter" with this line of code:
$this->mCountPosition = $this->hitCounterPosition();
The very next line in the code prints out the value of mCountPosition
printf(">>>" . $this->mCountPosition
My, there have been a lot of questions about XSLT in the past 24 hrs...
admittedly most of them coming from me. In addition to my first
question (repeated below for clarity), I have a second one -- how do I
perform an XSLT transformation on multiple XML documents? Do I need to
perform a sepa
Testing reply...
**
"Eric Starr" <[EMAIL PROTECTED]> wrote in message
003f01c1d748$8785e200$[EMAIL PROTECTED]">news:003f01c1d748$8785e200$[EMAIL PROTECTED]...
I am learning PHP and I am having some trouble. I am working on a hit
counter application. I am using PHP 4 even though the
To solve this problem, I store some variables in a session, and at the
beginning of each page that needs to be secure in my site, I check to see if
the session variable is set (usually $userid), if not I redirect the user
back to the logon page. At least two things will cause the variable to be
m
Just to follow up on some of these thoughts.
XML is definitely complicated to move into. Its unclear if you aren't
involved in data interchange, if the benefits are really there. If you are
just developing in your own way, you may not need it. OTOH, its new, sexy
and may "sell better" to your
On Saturday 30 March 2002 02:24, Omland Christopher m wrote:
> So this will work it regonizes a real user vs. a fake on I do. But I don't
> understand whats to stop someone from directly linking to a protected
> page? For example why couldn't someone just go directly to
> ./about.php.
You're
Hi, I had a question on user authentication/member accounts.
I have built a MySQL database with users and passwords, and I wrote this
code:
LOGIN IN PROGRESS
PLEASE LOG IN
Username:
Password:
Click Here");
}
So this will work it regonizes a real user vs. a fake on I do. But I don't
under
At 29.03.2002 10:22, you wrote:
>Hello,
>
>What will a database-driven web site do for? How does it releive stress on
>me?
>What is it good for? Why should I learn it? Thanks,
Think of a template,
You set up a design , and put database data in it.
If you have any changes on your website, you´ll
FTP with raw sockets is a little bit tricky because it actually requires a
second 'data' socket to be opened for each upload/download command.
Check out this excellent FTP class, which *doesn't* require PHP to be
compiled --with-ftp:
http://www.spencernetwork.org/ftp/ftp-class.txt
And of course
On Friday, March 29, 2002, at 12:52 PM, Dennis Moore wrote:
> I am in the process of updating many of my applications to include
> XML/XLST/ and/or WDDX technologies. Many of my applications read a
> static configuration file which assigns values to variables and arrays.
> If we need to chang
On Fri, 29 Mar 2002, Alastair Battrick wrote:
> I have over 26000 urls in a table. They are all urls and query strings of
> hits to the same 10 - 20 sites.
>
> I need to have a way to allow the user to select one of these, and then do
> some processing on it, and I'm struggling to find a way.
>
It all depends on what the needs for your site(s) are.
Typically, you use database driven web sites as a means of storing data
separate from the layout and style of your web site. The advantage of this
is that you can just update your data in the database without affecting the
layout and style
Does this retrieve the userid of the machine where the web server is
running, or does it retrieve the userid of the machine where the browser is
running?
Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
-Original Message-
From: J Wyn
I am looking for opinions and other philosophy on a couple of XML issues. I have my
own opinion, but I am curious what others think and what they are doing...
I am in the process of updating many of my applications to include XML/XLST/ and/or
WDDX technologies. Many of my applications read a
I am learning PHP and I am having some trouble. I am working on a hit
counter application. I am using PHP 4 even though the file extension might
lead you to believe I am using PHP 3.
This code is on a page called "homePage.php3". Here is the instantiation of my
Counter:
All Done!"
?>
Here is
> What will a database-driven web site do for?
If you have to ask, you have no need
> How does it relieve stress on me?
It doesn't. Quite the opposite
> What is it good for?
If you have to ask, you have no need
> Why should I learn it?
If you have to ask, you have no need
-Original Messa
Hello,
What will a database-driven web site do for? How does it releive stress on me?
What is it good for? Why should I learn it? Thanks,
-GENESiS DESiGNS
-Sean Kennedy
-http://www.gdesigns.vcn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Hi Sean,
I'd suggest looking at some of the PHP and database tutorials available, for
the database you most likely would be interested in learning about MySQL, at
least at first. There are a lot of good resources on the PHP website at
http://www.php.net and good MySQL documentation available at
h
On Friday, March 29, 2002, at 11:50 AM, GENESiS DESiGNS wrote:
> Hello,
>
> Would anyone out there be willing to teach me how to make a
> database-driven web
> site with PHP and MySQL? My MSN Messenger email is:
> [EMAIL PROTECTED]
>
> THANKS!
Well, there are places that teach classes on thi
Hello,
Would anyone out there be willing to teach me how to make a database-driven web
site with PHP and MySQL? My MSN Messenger email is: [EMAIL PROTECTED]
THANKS!
-GENESiS DESiGNS
-Sean Kennedy
-http://www.gdesigns.vcn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
$network = new COM("WScript.Network");
$computername = $network->ComputerName;
$username = $network->UserName;
Password can't be grabbed for fairly obvious reasons.
"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I want to prevent user to mak
Can anyone tell me why this is not working?
-- snip of
xslt_processor.php
$doc = new_xmldoc("1.0");
$root = $doc->add_root("debug");
$head = $root->new_child("broswer", "1");
$head->set_attribute("key", "UserAgent");
$head->s
How about a hierarchical tree? Strip the common precursor stuff
([http[s]://][www.]) and proceed from there, splitting on '.', '/', '?' and
'&'.
I would also put a Yahoo-style split-level back-out link on the page, ie
[nandotimes].[com]/[news]/[current]/
article2001.html(1 re
php-general Digest 29 Mar 2002 15:28:22 - Issue 1255
Topics (messages 90641 through 90675):
Re: Help with Acrobat FDF support
90641 by: Rasmus Lerdorf
Mysql adding extra fields.
90642 by: David Duong
90643 by: Miguel Cruz
90646 by: hugh danaher
CyberCash Pl
You should ask your administrator to do it for you.
BTW, most propably you don't have to recompile Apache.
-Stathis.
PS: Please, forward only to the list and to individual emails (if it is
possible).
Prachait Saxena wrote:
>
> Well i did not have the permission for both
>
> edting of php.in a
Try this query :
$query = "GRANT SELECT,INSERT,UPDATE,DELETE,ALTER
";
$query .= "ON $username ";
$query .= "TO $username@localhost ";
$query .= "IDENTIFIED BY '$password';";
Make sure that you put a blank space after each
string, except the last one.
I hope this work!
Rafael Peraz
Hi all,
I'm trying to get some info from get_browser() function. But, I'm getting a
page can not be displayed error.
The script is a simple one as give below. My hosting comapny says,
get_browser() works on their system and there must be some error in my
script but I couldn't find any error. Can s
Well i did not have the permission for both
edting of php.in and recompling the apache ???
Now what i can do ?
Prachait
- Original Message -
From: Rouvas Stathis <[EMAIL PROTECTED]>
Newsgroups: php.general
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 29, 2002 6:34 PM
Subject: Re: [PHP] w
You need to also make sure that you change the script execution time allowed
in the php.ini file to 5 minutes or more or else you will get a time out
error.
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
> -Original Message-
> From: Jason Caldwell [mailto:[EMAIL PROTECTE
Hi!
What about using stripslashes:
$variable = stripslashes($variable);
Also see http://www.php.net/stripslashes
/Anders Henke
"Jason Wong" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]...
> On Friday 29 March 2002 20:56, andy wrote:
> > does not work. Just like the decode fu
Jason Wong wrote:
>Well your problem is not caused by the rawurlencode, rawurldecode. It's
>probably because you have magic_quotes_gpc set to on.
>
>Try this:
>
>For your URL: rawurlencode(stripslashes($subject)), and same for $message.
>
>For your textarea: htmlspecialchars($subject), & $messa
On Friday 29 March 2002 20:56, andy wrote:
> does not work. Just like the decode function is out of order!
> It is not even decoding \'
> > > > >I am trying to fill a form again when an error occures, therefore I
> > >
> > > redirect
> > >
> > > > >to the form and pass the values via url like thi
Hi All
I have over 26000 urls in a table. They are all urls and query strings of
hits to the same 10 - 20 sites.
I need to have a way to allow the user to select one of these, and then do
some processing on it, and I'm struggling to find a way.
I did have a select dropdown with a list of them,
I always recompile PHP when I need a new module, but searching the
mailling list archives I found the following post by Rasmus that says
dl() in *nix is possible. Well, if Rasmus says it can be done, he is
propably true:-)
Subject: Re: [PHP] Re: The future of PHP - accessory libraries
Date:
> $query .= "ON $username";
The ON clause should identify the database name, not the user. It should
appear as "*.*.
-Original Message-
From: Liam [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 4:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP] creating MySQL Users
29/03/2002
does not work. Just like the decode function is out of order!
It is not even decoding \'
Andy
"Andrey Hristov" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
00e301c1d71e$b00569a0$0b01a8c0@ANDreY">news:00e301c1d71e$b00569a0$0b01a8c0@ANDreY...
> try to do double rawurldecode().
>
> Andrey
>
> -
try to do double rawurldecode().
Andrey
- Original Message -
From: "andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 29, 2002 2:36 PM
Subject: Re: [PHP] urlencode and decode are producing \\\' instead of \'
> does not help, any other ideas?
>
>
> "Bogdan Stances
does not help, any other ideas?
"Bogdan Stancescu" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You don't have to rawurlDEcode again - that's done automatically. You
> have to encode so you're HTTP compliant, but the decoding is done by PHP
> (or even
29/03/2002 10:26:41 PM
Hi, I've been trying to work this out, but I can't.
Myabe I need more sleep, I'm sure it's something really stupid.
Could someone have a look over this code for me please?
It's meant to add MySQL users.
">
User
Password
Thanks,
Liam
--
PHP General Mailing List
Hope this will help you:
1) Macromedia Ultradev + PHAkt extension (www.macromedia.com) $$
2) www.phpide.de
3) www.phpedit.com
4) http://dd.cron.ru/dbg (debugger)
Evan
"Ciro Martins" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi!
>
>
> I've be
Hi folks!
Im running this forum for Flash users and I have created it in Flash. Now,
I've got this little problem... If a users writes a URL like
http://www.test.com, the url becomes clickable thanks to the code below.
$text = str_replace("<", "<", $text);
$text = str_replace(">", ">", $text);
$
You don't have to rawurlDEcode again - that's done automatically. You
have to encode so you're HTTP compliant, but the decoding is done by PHP
(or even Apache? I'm not sure) when receiving urlencoded strings via URL
and form data.
Bogdan
andy wrote:
>Hi there,
>
>I am trying to fill a form a
You can do that with a javascript command:
if($dbfail) {
ob_end_clean();
print("
parent.location.href=http://".$SERVER_NAME."/closed.php";;
");
exit; // Halt the rest of the page from loading
};
"Dan Tappin" <[EMAIL PROTECTED]> a écrit da
put dubble quotes inside your html. I think this is in the spec, as soon as
it is no numeric format:
Cheers, Andy
"Claudio Fedel" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there,
>
> I'm trying to upload a file using php on an apache server r
1 - 100 of 107 matches
Mail list logo