Hi all,
where can i find php (version 4.3.1 or latest ) rpm?
i need to upgrade php on my RHL 8.0 box for its running on 4.2.2 and i
cant use many inbuilt functions.
kindly enlighten,
regards,
KM
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Thanks so much, it's done
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You might still have the old cookie set with long lifetime, and while
> this cookie exists, no new is created.
>
> nabil wrote:
>
> >I set the life time to 0 and still logged in even I dis
www.spiderhosts.com
i'v been for so long with them, and the service is good
Nabil
www.cabms.org
www.d2ue.com
"Arcadius A." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello!
> Please, do you know of any cheap PHP+SQL web hosting company?
>
> I know we always get what we pay for
Hi,
It seems to me that a script from
/var/www/wahtever/ includes a script called algo.php
which can not be found by PHP, because, probably it
is in the /var/www/ dir.
Either you add /var/www/ to the php.ini include_path,
or when you include files you give the full pat
Andrew D. Luebke wrote:
> OK, here is the regexp command I am trying to use:
>
> $split_filename = preg_split('/\./', $_FILES["userfile"]["name"],
-1);
>
> However, when I do a count($split_filename) I don't get what I expect.
> For instance if the input is:
>
> abc.xyz.123
>
> I get 2 fro
Michael Egan wrote:
And what exactly has this got to do with PHP :-)
It's important to know that there are PHP users all around the world,
including Nigeria! Perhaps Rev. Dr. Ego Momoh wants someone on the list
to build him a web site, so he can provide even more information on this
scam^H^H^H
[EMAIL PROTECTED] wrote:
where can i find php (version 4.3.1 or latest ) rpm?
i need to upgrade php on my RHL 8.0 box for its running on 4.2.2 and i
cant use many inbuilt functions.
http://rpmfind.net//linux/RPM/PLD/dists/ra/updates/security/i686/php-4.2.3-9.i686.html
If this is the wrong proces
This is actually not even fun. If you would do 'business' with
them, it could be that you end up in Nigeria and your family
gets blackmailed to get you back (best case), or you just get
killed (worst case)...
Regards,
Gerhard
- Original Message -
From: "David Grant" <[EMAIL PROTECTED]>
To:
hi david. thanks for your reply.
the error will occur even when value is reduced to 500. by clicking on
the refresh button several times, it will produce different output.
sometimes it might display garbage even before the http header too.
realising that it might be a problem beyond the codes, su
Hi, Sir:
There may be someone leave a message like
following:
U
and it expand the width of
Hi
I've got a question about about naming html components (text fields,
select boxes etc) when submitting a form to a php page.
First I tried identifying an element using the "id" attribute and found
that it was not being posted to the php page. When I use the "name"
attribute it did get posted
Greetings,
How about some simple word detection attempts like:
$words = explode (' ',$input); //create array
$new_words = ''; //empty
foreach ($words as $word)
{
if (strlen ($word) <= 40)) { $word = wordwrap ($word,40,"\n",1); }
$new_words .= ' '.$word; //add word(s) to string
}
$new_words
hi guys, how does everyone usually go about posting within a script ?
i usually contain everything i need to do for a script within the same
script without the need for a seperate file for posting like so
switch ($_POST['action']) {
case 'insert':
insert into db
br
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi,
>
> i'm using SuSE Linux 8.1 with Apache 2 and PHP 4...
> here is what i want to do:
> if someone writes a mail to [EMAIL PROTECTED] it should be directly
> processed by a PHP script...
> (I need it for a simple script, that validate
PHP uses only the 'name' attribute of an element to assign the variable to.
You can use 'id' and 'name' together, but the two are different, for instance no two form
elements should have the same 'id', but depending on multiform pages with similar inputs,
an identical 'name' attribute could be u
Greetings-
I prefer to check the $_SERVER['REQUEST_METHOD'] before I do anything in a script that
operates for both GET and POST methods. Also, especially for a switch statement, I'd
check for the existance of the variable first, you know some sort of isset() or !is_null()
test.
Hope that hel
Hi all!
I'm using Apache 2.0.45, PHP 4.3.2RC4, and MySQL 3.23.49 on Windows 2003
Server Standard.
I have a problem passing variables between pages. They simply get lost.
Neither GET nor POST pass values, and even "hardcoding" them into the URL,
like
htpp://localhost/comeon.php?aVariable=ding&an
RegisterGlobals = Off
You need to access these variables by
$_POST[aVariable] or in your case ( adding the variables to the end of a
URL means you are using the GET method: $_GET[aVAriable] etc.
On Wed, 2003-05-28 at 11:37, [EMAIL PROTECTED] wrote:
> Hi all!
>
> I'm using Apache 2.0.45, PHP 4.
Ok, I'm having problems with configuring all the things together. I have loaded on Php
4.3.1, Mysql, IIS 5.1 and Dreamweaver MX, but I can't get php to work from
dreamweaver, well i can't say it works at all having used a piece of code to check php
works in html. I have installed php but I get a
Could someone with power over php.net please try to make this change in
variable handling very extremely clear for downloaders? Make it something
you cannot miss? Not everybody reads release notes and readme.txt files.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
not being funny ... but, you should read release notes, that's what they are
for
regards
Jonathan
-Original Message-
From: Chris Hayes [mailto:[EMAIL PROTECTED]
Sent: 28 May 2003 10:46
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Variables don't pass... *sniff*
Could someone with power
Glory!
Did you try turning Register_Globals = On in your php.ini ??
PHPSpooky
__
"If God had wanted me otherwise, He would have created me otherwise."
- Johann Wolfgang von Goethe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED
Thank you mate, this works! =)
Just curious, though... I'd like to keep my scripts as compatible as
possible, so can you tell me if this method is backwards compatible? I've
never used this method before, the variables have just "been there" on a
subsequent page. I'm kinda fearing for my previous
Hehe, guess I'm not the first to ask! =)
I did actually read a lot, but at first it seemed to be my sessions that were
destroyed, and indeed the session handling has changed, so... Forgot to read again I
guess =)
- Original Message -
From: Chris Hayes
To: [EMAIL PROTECTED]
Sen
It's not backwards compatible. If your code simply mentioned the
variable name and not the method array, it will not work (as you
noticed) when registerglobals is turned off ( for security reasons).
However, there are many ways of making your old code work, the easiest
is probably to extract the $
Sorry, I missunderstood your question about backwards compatible.
YES, accessing your variables this way ($_POST[] etc), IS backwards
compatibel, ie, they are placed in those arrays anyways, BUT, the method
is not backwards compatible to older versions of PHP, there the arrays
were called $HTTP_GE
Hi
I've to set up a shared shopping cart to buy items
from four different sites and pay them at once
passing trough a single checkout.
Provided that these sites are hosted on the same
server (actually in the same directory), but have
different names, is it possible to share php
sessions across m
Maybe they could include a quick "overview" of the latest changes as
well as a link to the on-line manual in your "sign-up" message when
joining the list?
On Wed, 2003-05-28 at 11:46, Chris Hayes wrote:
> Could someone with power over php.net please try to make this change in
> variable handling
Hi,
I would like to do the following
When an objects method is called like this:
$test= new Testclass;
$test->someMethod ($someArgument);
I'd like to have an event handler outside Testclass to
log this event, like this:
function event_handler ( $method_name, $obj [, mixed parameter [, mixed...
you can use the default: statement as last case in switch, too.
"Jason K Larson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Greetings-
>
> I prefer to check the $_SERVER['REQUEST_METHOD'] before I do anything in a
script that
> operates for both GET and POST methods. Also
bk wrote:
I've to set up a shared shopping cart to buy items
from four different sites and pay them at once
passing trough a single checkout.
Provided that these sites are hosted on the same
server (actually in the same directory), but have
different names, is it possible to share php
sessions acr
sven wrote:
you can use the default: statement as last case in switch, too.
I always use default: to exit() the script, as something is obviously
fubar if it gets there...
--
David Grant
Web Developer
[EMAIL PROTECTED]
http://www.wiredmedia.co.uk
Tel: 0117 930 4365, Fax: 0870 169 7625
Wired Med
dear milist
any body now script to detect browser also ip event using proxy public or high
anonymous .thank's
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you! =)
Okay, okay... Sorry to keep rambling on like this, but I just need to get this 100%
straight:
I read up on the predefined variables on php.net, and as you said, in older PHP
versions, the $_GET equivalent was $HTTP_GET_VARS, and that did the same as $_GET.
So, the RegisterGlobals
To maintain absolute compatibility, just use $HTTP_GET_VARS. It's
availalable in all PHP versions, just deprectaed in versions here $_GET
is available.
[EMAIL PROTECTED] wrote:
Thank you! =)
Okay, okay... Sorry to keep rambling on like this, but I just need to get this 100% straight:
I read
[snip]
To maintain absolute compatibility, just use $HTTP_GET_VARS. It's
availalable in all PHP versions, just deprectaed in versions here $_GET
is available.
[/snip]
Just to be perfectly clear on this. Let's say that I am writing an
application that I am going to release to the public (for fre
Thanks all!
I think that I'll check for both variables to be absolutely 100% sure. I
could easily imagine future version of PHP slowly getting rid of deprecated
stuff like this to improve speed or something... Besides, the word
"deprecated" scares me ;)
Daniel
"There are 10 kinds of people - tho
php-general Digest 28 May 2003 11:52:08 - Issue 2083
Topics (messages 149176 through 149228):
secure code
149176 by: Tim Burgan
149181 by: Marco Weber
149182 by: Evan Nemerson
Re: how to read the stuff that got piped ("|") to the script?
149177 by: Joe Stump
I think, you can write some wrapper arround this and in some config file
just add one variable which will tell the script about PHP version.
so You can than use something like this:
switch (VERSION) {
case 4.0:
..
}
DS
-Original Message-
From: Jay Blanc
Leif K-Brooks wrote:
To maintain absolute compatibility, just use $HTTP_GET_VARS. It's
availalable in all PHP versions, just deprectaed in versions here $_GET
is available.
I would've thought that $HTTP_*_VARS will be deprecated sometime in the
future. It might be an idea to write your own ac
Hi, sir:
I tried it but also failed.
For One Chinese Character is composed with two bytes,
and between every word and word in a line,
there is no space " ",(Not like english).
For example:
English's thank you is : Thank you very much!
Chinese's thank you is : ¯uªº¦hÁ±z¤F¡I
and some word's sec
Hello,
I was just wondering how to update data to database from html text field.
I have a form that retrieves data from dbase and put's values into text
field in a web page. I want to be able to modify data and then save it dbase
by hitting save button (also form object).
ie.
$sql="SELECT col1
Hi,
i have been having trouble working out how to upload an image, the most
progress ive made is putting a blank file on the server, but thats it, any
suggestions anyone??
Im using PHP 4.3.2, Apache 1.3.27
here is the code im using!
photoposted.php
postphoto.php
";
echo "Click the Browse bu
[snip]
I was just wondering how to update data to database from html text
field.
Anyone know what is the proper way to do this?
[/snip]
The action for your form can contain an SQL UPDATE statement where the
values in the database are updated with the values in the form. Fairly
simple. Here is an
Kalle Saarinen wrote:
Hello,
I was just wondering how to update data to database from html text field.
I have a form that retrieves data from dbase and put's values into text
field in a web page. I want to be able to modify data and then save it dbase
by hitting save button (also form object).
i
I am in Hong Kong and the server is in US.
I can't change the server setting.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I am in Hong Kong and the server is in US.
I can't change the server setting.
[/snip]
How about getting the server time and then adding or subtracting from
that to get the appropriate time?
http://us2.php.net/manual/en/function.time.php
HTH!
Jay
--
PHP General Mailing List (http://www.
Hi,
Is there any body who have experience with the flags in mysql_connect() in
php >= 4.3 . Especially the MYSQL_CLIENT_COMPRESS flag.
I dont know if it works or not. I cant make any difference. Should php must
be compiled with a special flag to get work this?
atur
--
PHP General Mailing Lis
How to do this?
--
"Jay Blanchard" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
[snip]
I am in Hong Kong and the server is in US.
I can't change the server setting.
[/snip]
How about getting the server time and then adding or subtracting from
that to get the appropriate time?
http://us2.php.n
[snip]
How to do this?
[snip]
I am in Hong Kong and the server is in US.
I can't change the server setting.
[/snip]
How about getting the server time and then adding or subtracting from
that to get the appropriate time?
http://us2.php.net/manual/en/function.time.php
[/snip]
Use mktime http://us
Here is exactly what you are looking for:
"The Open Web Application Security Project" http://www.owasp.org/
best.
Anil
On Wed, 28 May 2003, Tim Burgan wrote:
> Hello,
>
> I'm wondering if you can recommend any resources that discuss writing secure
> code and how to put the best methods in
Thank you.
I added 43200 then slove this problem.
--
"Jay Blanchard" <[EMAIL PROTECTED]>
???:[EMAIL PROTECTED]
[snip]
How to do this?
[snip]
I am in Hong Kong and the server is in US.
I can't change the server setting.
[/snip]
How about getting the server time and then adding or subtracti
Bk,
You would have to somehow pass all session variables onto the
new host since session variables are stored server-side. You would have
to have a function that took all session variables and passed them to
the new domain including session id... then you would need a function
that would
53 matches
Mail list logo