On Wed, 28 May 2003 12:46:50 +0100, David Grant wrote:
>I would've thought that $HTTP_*_VARS will be deprecated sometime in the
>future. It might be an idea to write your own accessor methods, e.g.
>
>function RetrieveGetParameter($parameterValue)
Egads! Wouldn't the following be a little simp
>I used wordwrap($word,40,"\n",1) to prevent it,
>but my system is BIG5 ,two bytes,
>Sometimes this method would destroy the structure
>of the two-bytes word.
Hi,
Have you looked into the multi-byte string functions in the manual?
Search on php.net for mb_str .
Also, have you tried just forcing
I did this:
if (!empty($_POST)) {
extract($_POST);
} else {
extract($HTTP_POST_VARS);
}
And have it in an include file, "extract_post.php".
This way I can just include it and all variables are available, just like if
register_globals had been on.
Daniel.
- Original Message -
From: We
Tim,
Make sure you handle all exceptions, exit() after each redirect, make sure
you are validating all form fields before it goes into the database, things
like that. Might want to grab webproxy from www.atstake.com and use it to
test your app. Its kind of complex to use at first, but th
On Wed, 28 May 2003 16:13:22 +0200, [EMAIL PROTECTED] wrote:
>if (!empty($_POST)) {
> extract($_POST);
>} else {
> extract($HTTP_POST_VARS);
>}
>
>And have it in an include file, "extract_post.php".
>This way I can just include it and all variables are available, just like if
>register_globals had
> However, both of these "solutions" create the same security issue that
> turning RegisterGlobals on took care of in the first place. :)
Howcome? I don't think I understand that... Is the security issue not with
the fact that you're POSTing og GETing variables rather than the way you do
it? Woul
do it in your html code,
you use a for the message text?
add this:
style=TABLE-LAYOUT:fixed
it works.
:)
"Fongming" <[EMAIL PROTECTED]> дÈëÓʼþ
news:[EMAIL PROTECTED]
> Hi, Sir:
>
> There may be someone leave a message like
> following:
>
>
UUU
[snip]
Yup! You could even add that php to the auto_prepend_file variable in
your php.ini or add this to your .htaccess file (assuming you are
running Apache and have overwrite turned on) and the prepend will happen
automagically on every php program:
php_value auto_prepend_file "/www/extract_p
using style=TABLE-LAYOUT:fixed does not wrap the text
- Original Message -
From: "hui" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 28, 2003 3:13 PM
Subject: [PHP] Re: About Guest Book\'s messages
> do it in your html code,
> you use a for the message text?
> ad
I want to remove unwanted characters from filenames of files uploaded to
our server. I am currently using strtr to do this. I have a few characters
that are being removed but I would also like a single quote to be removed
if it is in the filename. I think it has to be escaped in the command
though
On Wed, 28 May 2003 16:30:17 +0200, [EMAIL PROTECTED] wrote:
>Howcome? I don't think I understand that...
Check this out.
http://us4.php.net/registerglobals
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You could do this a number of ways:
eregi(), ereg() or str_replace() ...
That will output "Whats up?"
--Joe
--
Joe Stump <[EMAIL PROTECTED]>
http://www.joestump.net
"Label makers are proof God wants Sys Admins to be happy."
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PR
Wendell Brown wrote:
Egads! Wouldn't the following be a little simpler?
At the top of the file put.
if( is_array($_POST) )
$pArray = $_POST;
else
$pArray = $HTTP_POST_VARS;
Absolutely! I've been getting a little carried away with moving a lot
of PHP functions to OO classes recently...
Okay, that makes sense, but I would never write a script like that in the
first place ;)
Not unless I'm really tired or something, in which case it's good to have
this thing turned off by default =)
Cheers
- Original Message -
From: Wendell Brown
To: [EMAIL PROTECTED] ; [EMAIL PROTECTE
While I wholey support the concept of using appropriate globals ($_POST,
$_GET, $_COOKIE, etc.) I'd like to make one point abundantly clear:
"While it doesn't guarantee that data has not been forged, it does require
an attacker to guess the right kind of forging."
-- http://us4.php.net/registergl
Have you read up on regular expressions? They'll do just what you're looking
for:
http://www.php.net/ereg_replace
--Joe
--
Joe Stump <[EMAIL PROTECTED]>
http://www.joestump.net
"Label makers are proof God wants Sys Admins to be happy."
-Original Message-
From: [EMAIL PROTECTED] [mailt
Does anyone know of a form generator that will look at a MySQL table and
generate an add/edit form off of that table?
Thanks,
Clint
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check www.freshmeat.net. There are several.
=C=
* Cal Evans
* http://www.christianperformer.com
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.
*
- Original Message -
From: "Cli
Ok,
I know thumbnails have been discussed and I have looked at the archives, I
am just looking for opinions. I am doing a small website for a used vehicle
dealer. I need to make it as easy as possible for him to add new vehicles.
I plan to just give him a form for the information, and a place to
I'd definitely generate them on the fly for him. I personally use the *NIX
program "convert" which comes with imagemagick. It works great and is easy
to use.
General Steps:
1.) Copy big image to location
2.) Use convert to make a thumbnail and name it 't_'.$image_name
3.) Put image name in a db s
> I know thumbnails have been discussed and I have looked at the archives, I
> am just looking for opinions. I am doing a small website for a used
vehicle
> dealer. I need to make it as easy as possible for him to add new
vehicles.
> I plan to just give him a form for the information, and a place
Ed:
Better yet, because not all browsers pass through the original file name
that was was uploaded, have the user input the name - and validate that
instead. You can then restrict them to numbers letters:
$filename=ereg_replace("[^0-9a-zA-Z.]","",$filename)
Or something like that.
On 5/28/03 1
Hello,
I did a family photo gallery, and from my experiences it would be best if you
handle the thumbnail generation during the upload process. Just make sure you
have a naming convention or link the thumnail into your repository/DB so you
don't loose that space when you delete the record. It
You'd really only have to pass the session ID to the other domains, since
all of the session files are located in the same directory. So, when linking
to one of the other domains, just include SID in the URL or form. Should be
painless.
echo 'http://www.otherdomain.php/page.php?'.SID.'">Link to ot
On Wednesday 28 May 2003 03:07, Catalin Trifu wrote:
> 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
On Wed, 28 May 2003 09:31:11 -0500, Jay Blanchard wrote:
>I wouldn't go as far as using the auto_prepend_file.
Neither would I in this case Jay.It was simply an example of what
could be done, not necessarily what SHOULD be done. I did however, use
auto_prepend_file in a .htaccess file for a
> I want to remove unwanted characters from filenames of files uploaded to
> our server. I am currently using strtr to do this. I have a few characters
> that are being removed but I would also like a single quote to be removed
> if it is in the filename. I think it has to be escaped in the command
thanks for all the info, I am doing this project this week (hopefully) so I
am sure I will have more questions!
Eddie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:14 AM
To: Edward Peloke; [EMAIL PROTECTED] Php. Net
Subject: Re: [PHP]
Hi all,
I have no problem with registering a session. As a matter of fact, I
making a site where I register 3 different levels of sessions with no
problem. The thing is when, in my header.inc (which includes
session_start(); for all the site) I tell through PHP only to show the
login form ONLY whe
Hi ,
I have mailed you some code i use to make thumbnails etc.
It only manipulates the image once, then stores a thumb and streams it to
the page when requested
Regards
Dallas Goldswain
Technical Director
Web|Genetics / www.development.co.za
Regards
<[EMAIL PROTECTED]> wrote in message
news:[EMA
On Wednesday 28 May 2003 20:11, Adnan wrote:
> 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??
If you're wanting to do HTTP uploads then manual > Handling file uploads tells
Hello Ernest,
SInce register_globals() is ON on my server, I need to be able to
figure out a way to ensure session security.
Another question I had was that, with register_globals() ON can I
still use the $_SESSION to set my variables ? I want to avoid recoding
the entire application, so I wan
Hi,
I have a page which uses POST variables sent from a form. If a user clicks
on a link on this page is it possible to send those POST variables to the
next page aswell?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun wrote:
Hi,
I have a page which uses POST variables sent from a form. If a user clicks
on a link on this page is it possible to send those POST variables to the
next page aswell?
You can send them by tagging them to the end of the link, or saving them
into a session, but you can't (for obvi
$value)
echo "";
?>
Submit Again
Like that?
On Wed, 2003-05-28 at 12:22, Shaun wrote:
> Hi,
>
> I have a page which uses POST variables sent from a form. If a user clicks
> on a link on this page is it possible to send those POST variables to the
> next page aswell?
>
> Thanks fo
You can do this either by sending 'hidden' input and store the POST value in
the 'hidden' input or by storing the variables in a session. At least , that
is what I do and it works for me.
-Oorspronkelijk bericht-
Van: Shaun [mailto:[EMAIL PROTECTED]
Verzonden: Wednesday, May 28, 2003 6:23
Jason Wong wrote:
> On Wednesday 28 May 2003 20:11, Adnan wrote:
>
>> 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??
>
> If you're wanting to do HTTP uploads then manual
You should be able to use $_SESSION with register_globals on.
"
If you want your script to work regardless of register_globals, you need to
use the $_SESSION array. All $_SESSION entries are automatically registered.
If your script uses session_register(), it will not work in environments
where r
ok,
basically this is so I can implement page numbering on my search results,
the user submits the form and I want to be able to send the form results
back to the same page when the user clicks 'next' or 'previous'.
I have tried putting this at the top of the page:
$_SESSION['post'] = $_POST;
$_
If your running under linux/unix, do:
chown webuser:webuser /tmp/php
Supplement /tmp/php with whatever upload path you have
set in your php.ini, and webuser with whatever user your
webserver runs as.
On Wed, 2003-05-28 at 12:33, Adnan wrote:
> Jason Wong wrote:
>
> > On Wednesday 28 May 2003
Adam Voigt wrote:
> If your running under linux/unix, do:
>
> chown webuser:webuser /tmp/php
>
> Supplement /tmp/php with whatever upload path you have
> set in your php.ini, and webuser with whatever user your
> webserver runs as.
>
>
>
> On Wed, 2003-05-28 at 12:33, Adnan wrote:
>> Jason Wo
On Wed, 2003-05-28 at 11:38, Shaun wrote:
> ok,
>
> basically this is so I can implement page numbering on my search results,
> the user submits the form and I want to be able to send the form results
> back to the same page when the user clicks 'next' or 'previous'.
>
I do the very same thing as
Hmm, what's the exact error message you get?
On Wed, 2003-05-28 at 12:43, Adnan wrote:
> Adam Voigt wrote:
>
> > If your running under linux/unix, do:
> >
> > chown webuser:webuser /tmp/php
> >
> > Supplement /tmp/php with whatever upload path you have
> > set in your php.ini, and webuser with
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
Call me an optimist but if you don't get any error's, that
usually means it worked. You do know that the uploaded file
is erased when the page ends right?
You have to use a call to move_uploaded_file to actually
put it somewhere on the file system.
On Wed, 2003-05-28 at 12:53, Adnan wrote:
> Ada
Adam Voigt wrote:
> Hmm, what's the exact error message you get?
>
>
> On Wed, 2003-05-28 at 12:43, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > If your running under linux/unix, do:
>> >
>> > chown webuser:webuser /tmp/php
>> >
>> > Supplement /tmp/php with whatever upload path you have
>> > se
how can you skip the first occurance and stop at the second in a regex?
content1
content2
If I wanted to grab all that from within a document I know I can start
at table id= because it's unique but how do I skip the first
and stop at the second
Hello,
I have a question who's answer has been bugging me for a while. What I need
to do is write a script that detects if a browser is using 128-bit
encryption when connecting to our website. While this is easy for most (I
have the script working for them), a real problem for me has come up wi
I think what you want is:
move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir .
$_FILES['imagefile']['name']);
(Apologies if it wraps, that should be all one line.)
On Wed, 2003-05-28 at 12:58, Adnan wrote:
> Adam Voigt wrote:
>
> > Hmm, what's the exact error message you get?
> >
>
Salutations!
I am trying to do something fairly simple, but I can't seem to make it
work... I want to have a form field on a page that the user will put in a 3
to 5 digit number and when they click on "Submit" that number will become
part of an URL that they are forwarded to.
For example, if the
Adam Voigt wrote:
> I think what you want is:
>
> move_uploaded_file($_FILES['imagefile']['tmp_name'],$ftpdir .
> $_FILES['imagefile']['name']);
>
> (Apologies if it wraps, that should be all one line.)
>
>
>
> On Wed, 2003-05-28 at 12:58, Adnan wrote:
>> Adam Voigt wrote:
>>
>> > Hmm, what'
Thanks ,hui:
style=TABLE-LAYOUT:fixed
^
it won't work
It just disappeared and hide the text,
it didn't cut the line to suitable for
the table ,and it didn't force the texts
down to the next line.
It didn't.
but thanks again
do it in your html code,
you u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It is also a simple drop-down box setting in the admin / settings.
- -Shawn
"Nabil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> i have problem with session in postnuke.
>
> the problem is that while i m logged in as a user, if i cl
I have three points in response to this thread.
1. This is the an example of the Nigeria 419 scam. I have no idea how it got
the 419 in the name. What they want from your is you bank account details so
that they can remit the money out of the country and you supposedly get to
keep your share.
###HTML snippet
Enter Number :
###PHP
http://www.mypage.com/".$number);
exit();
?>
### NOTE: I just wrote this on the fly so there is no error checking or
sytnax checking
Hopefully this makes sense and doesn;t need explanations, but if so
just post the list and me and I'll get back to y
> SInce register_globals() is ON on my server, I need to be able to
> figure out a way to ensure session security.
The single most important thing to do is initialize all your variables. The
way to ensure that you have done that is to set the error reporting level to
"E_ALL" (which is max). The
Hi, just to let you know i've sussed it out, i didnt realise that the
destination directory had to be on the system, rather than on the site
thank you very much for ur help and time
adnan
Adnan wrote:
> Hi,
>
> i have been having trouble working out how to upload an image, the most
> progress
Hi,
I've been creating some graphs using jpgraph and they work really well when I
view them directly i.e. directly through the script. My problem comes as soon
as I try to display them using the tag within another page. When I do:
I can't get it to display. It just shows the broken image icon
I had completely forgotten how much more hassel CGI / Perl is when
compared to PHP. I just got done doing a MINOR mod to a Perl script
(it took me about 4 hours compared to what would have taken me about 10
minutes in PHP) and I just want to say THANK YOU to all the PHP
developers! :)
--
PHP G
On Wed, 28 May 2003 19:00:20 +0100, Jordan Elver wrote:
>I can't get it to display. It just shows the broken image icon.
I assume you are sending something similar to the following before the
actual pic?
header("content-type: image/png");
I have a script set up on my page that demonstrates usin
Folks, occasionally the odd spam message is going to slip through our
various safeguards and spam will go out on the PHP lists. We are working
on improving things on our end to reduce the amount that slip through, but
we also need your help with the following:
1. Do not respond to the list compl
I'm using the latest php and the rand() function isn't working properly when
giving it any min and max arguments.
It does work without anything between the () but if I put a min and max,
then only the min value always gets chosen.
Is that a bug? Is that new?
I'm not using an old php version, and
Hi Sonjaya,
Here is how i detect a proxy / user external ip and internal ip
I use the global variable catched by PHP from the web server,
the web server that i use is Apache i don't know about your's but it might
work.
There are tonns of available information here is some that i ha
How can I clean this up?
$in_file = http://somedomain.com/somefile.php;
$out_file = ereg_replace("http://";, "", $in_file);
$out_file = ereg_replace("/","-", $out_file);
$out_file = "/www/dev/".$out_file;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
> I assume you are sending something similar to the following before the
> actual pic?
>
> header("content-type: image/png");
Jpgraph does that for you I think. As I said before, the script works when you
access it directly, but not when it's through an img tag.
--
Jordan Elver
There may be no '
First, make sure to use str_replace whenever possible instead of
ereg_replace. It's faster:
$out_file = str_replace("http://";, "", $in_file);
etc...
--
Matt Grimm
Web Developer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Parkway
Anchorage, AK 99508
907.770.6200 ext
How can I get statistics from a remote file?
I am trying to get info on:
FileSize
Date Created
Date Modified
when:
fopen ("http://somedomain.com/somefile.ext";, "r")
Also, I am unable to use filesize function where $fp =
fopen("http://somedomain.com/somefile.ext";, "r").
Is it possible to do t
Hi,
As the PHP manual states you CAN NOT use filesystem functions,
such as filesize, filectime, etc...
on remote files, such as those opened opened through HTTP.
You can however rely on the FTP functions, if you can use FTP to
open the files.
Cheers,
Catalin
"Erich Kolb" <[EMAIL
Let's say I have a table with links in the headers for sorting each column. I want to
carry the sort variable along in the $_GET array, and I need to be able to pass other
variables to this same page, also using the GET method. My trouble is when I need to
append a new variable to the REQUEST_
I have a multi-dimensional array. Looks like this:
$work_order_hdr = array ('whdr_id'=>'record_no',
'whdr_order_no'=>'request_no',
'whdr_site_id'=>'site_id',
'whdr_user_id'=>'user_id',
'whdr_locatio
> I have a multi-dimensional array. Looks like this:
>
> $work_order_hdr = array ('whdr_id'=>'record_no',
> 'whdr_order_no'=>'request_no',
> 'whdr_site_id'=>'site_id',
> 'whdr_user_id'=>'user_id',
>
You have to check for it, regardless. See if this works for you.
$url = $_SERVER['REQUEST_URI'] . '?' . ((isset($_SERVER['QUERY_STRING'])) ?
$_SERVER['QUERY_STRING'] . '&' : '' ) . 'newVar=1';
The middle part basically sees if the QUERY_STRING is empty. If it is, it
includes a question mark other
We are using PHP Fusebox to develop one of our applications where I
work.
I have a descent-grasp on the whole fusebox concept, but I am having
problems getting my head around how sub-circuits work. Can anyone
offer
any advice? When I go to the main fuseaction, all works fine. When I
try to go to
I have to setup credit card verification/processing with Netbilling.com,
does anybody know of a PHP based Netbilling connect script or class?
Your help is appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Replying to myself... :)
> You have to check for it, regardless. See if this works for you.
>
> $url = $_SERVER['REQUEST_URI'] . '?' . ((isset($_SERVER['QUERY_STRING']))
?
> $_SERVER['QUERY_STRING'] . '&' : '' ) . 'newVar=1';
>
> The middle part basically sees if the QUERY_STRING is empty. If it i
On Wed, 28 May 2003, Jordan Elver wrote:
>-Hi,
>-I've been creating some graphs using jpgraph and they work really well when I
>-view them directly i.e. directly through the script. My problem comes as soon
>-as I try to display them using the tag within another page. When I do:
>-
>-
>-
>-I ca
Deprecated means that it has fallen out of favor, and is
_in_the_process_of_being_phased_out_ You should not rely on this code in
new applications. Go look it up in a dictionary.
If you have to be backward compatible with < 4.1.0 (which was released
on 10-Dec-2001!) I suggest something like this:
Yes, thanks John, with a little tweaking this does just what I needed. I
keep forgetting to use that compact conditional syntax, it's sexy.
I had to use PHP_SELF instead of REQUEST_URI first, since the latter
contains the path, the script, and the query string.
$url = $_SERVER['PHP_SELF'] . '?'
> I can see what headers are sent. What is the url of the image?
I checked using curl -I and found that the correct headers are being sent. I
found out it was because I didn't have a certain library I needed included
within the graph script.
Thanks for your help anyway,
Cheers,
Jord
--
Jordan
The manual entry for array_rand states:
"Don't forget to call srand() to seed the random number generator."
However, the srand page states this:
"Note: Since PHP 4.2.0 it's no longer necessary to seed the random number generator
before using it."
Is the 'random number generator' identical for
Hi all,
Ever since register_shutdown_function was changed to no longer happen after
the connection was closed, several things on our site have started to suck.
Not the main, public site, but our internal pages where cache is regenerated
and such.
I have tried using the pcntl functions in an exec'
> On Sunday 25 May 2003 20:42, matze wrote:
> > on a redhat 8.0 box with php 4.1.2 rpm (from rh v7.2) installed
> > the ereg.* functions don't work as i expect. in some cases -
> > especially when "\r\n" sequences are involved - the ereg functions
> > don't match a string, although they should. i t
Hi,
I would like to decrypt data encoded with GnuPG without including the
private key passphrase in the command to prevent people from viewing it
with "ps".
Here is the code I wrote:
$command = "/usr/bin/gpg --homedir=/path/to/.gnupg --no-secmem-warning
--always-trust --yes --output /pat
Hi guys...
I'm very new to using Oracle and stored procedures.
I'm using a stored procedure to return 12 variables, 8 of which are arrays.
$EventID = 41403;
$BufferSize = 3000;
$connection_oracle = OCILogon("","**", "**");
$statement_oracle = OCIParse($connection_oracle
Hi,
anyone can help me parsing html files in order to get all the images
containing a file?
Thanks, Simon.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jim,
To solve the problem about caching I use two methods: In design stage, I
simply turn off the "Automatic Refresh Page" in my Explorer options and,
in working stage I use once a jscript to prevent the hole site from
caching and the visitor´s brwsers think that it´s allways refreshing...
use
Hey,
I'm having problems with the eval() function...
if ($Sort == "Up") {
$do="<=";
} else {
$do=">=";
}
for ($i = $aNum; eval ('$i ' . $do . ' $bNum'); )
//So.. the above line acts like:
//for ($i = $aNum; $i <= $bNum; )
//...or...
//for ($i = $aNum; $i <= $bNum; )
{
i
if ($Sort == "Up") {
$i++;
dear sir
sorry if my english bad, my question is , any body now script to detect ip(internet
protocol) to
web us . exsample : your ip is 192.168.1.1 , i get this $ip(REMOTE_ADDRES) , but
this script just
for main ip i want client ip because i use proxy , how we can detect, i want like this
if you wish to have this work purely with PHP, and not rely on client-side
stuff like javascript, then your only option (that i can see) is to create a
middle man script which translates their wishes.
startpage.html
---
...
...
---
redirect.php
---
http://mysite.com/dir/{$_POST['yourNumber'
on 28/05/03 11:49 PM, Jay Blanchard ([EMAIL PROTECTED])
wrote:
> [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
It is a known issue that function calls are expensive for the processor.
The OOP let us better organize the code but, thinking in function (or
method) calls it may be more expensive than in the procedural form.
My question is, has anyone made any tests regarding the performance of
OOP vers
Register globals essentially takes the value of $_SESSION['foo'] and creates
$foo. It does the same thing for GET, POST, COOKIES, etc.
The problem here is that you have no way of telling if $foo was a POST
variable, GET, SESSION, or whatever. So, I can choose to append ?admin=1 to
one of your UR
Hi,
I am having problem with a PHP page on our web site.
I've installed the latest version of PHP on a Windows 2000 server.
The error we're getting is:
Notice: Undefined variable: PHP_SELF
Where do I start to fix this problem?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsub
Hey,
How do you create thumbnails from .BMP files? Is there a function like
there is for JPG (ImageJPEG)?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes, the bottom line is code reuse...that is why there is oop. So that a
developer can always reuse code saving money on development and thus if
speed is an issue then adding more hardware.
--
Ray
On Wed, 2003-05-28 at 20:05, William N. Zanatta wrote:
> It is a known issue that function calls
> I am having problem with a PHP page on our web site.
> I've installed the latest version of PHP on a Windows 2000 server.
>
> The error we're getting is:
> Notice: Undefined variable: PHP_SELF
>
> Where do I start to fix this problem?
Read the release notes. Register_globals is OFF. Use
$_SERV
> How do you create thumbnails from .BMP files? Is there a function
like
> there is for JPG (ImageJPEG)?
Probably need to use an external program that understands that format
and an exec() call.
---John W. Holmes...
Amazon Wishlist: http://www.amazon.com/o/registry/3BEXC84AB3A5E
PHP Architect
I think this is very important for dynamic site
developers to understand. I'm very interested in
learning more about this and I think we could all
benefit from anyone with solid search engine
experience.
I run a site with about 18,000 news articles. They are
stored in database and dynamically gene
hi
i want to send html format type of emails
using mail( ); function?
is there a how to where can i start learning
that type of encoding
thanks
> 1. This is the an example of the Nigeria 419 scam. I have no idea how it got
> the 419 in the name.
http://www.google.com/search?hl=en&ie=ISO-8859-1&q=nigeria+419
in particular,
http://home.rica.net/alphae/419coal/
--
Joel Rees <[EMAIL PROTECTED]>
--
PHP General Mailing List
1 - 100 of 152 matches
Mail list logo