Hi,
I've a case where I have to run a lots of php-scrips, in a short time, from
inside a delphi-application. Every script connects to the same databas.
Today I use CreateProcess to start php.exe and then I'm using pipes to get
the php-result. I'm doing this for each php-script I want to run,
Hi...
I got a shared lib API written in PHP, that depends on sessions for its
operation.
I took a prepared system in Perl that I want integrate with the shared
lib API in PHP.
What I thought about is, to write a mediator class in Perl that will
define the same API functions as I got in the
Hi...
I got a shared lib API written in PHP, that depends on sessions for its
operation.
I took a prepared system in Perl that I want integrate with the shared
lib API in PHP.
What I thought about is, to write a mediator class in Perl that will
define the same API functions as I got in the
[ snipped ]
Oh! You're so mean!! ;)
A lot of people are making some great points. I feel I must strighten
this out a little. While I may not be the best coder in the world I
do have my reasons. I originally made the passwords automatically
generated and emailed to the user. Nice complicated
I just wrote a little script to play around with the GD library but I am
having a problem displaying it in the browser. I have not problem at all
when I just run the script. But I was trying to make the image in a custom
function which will return the image when its called. All I end up
only a test.
sorry
Cantoberon Multimedia srl
http://www.cantoberon.it
Tel. 06 39737052
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nsk wrote:
Hi
I want to create a single php file which will be able to display multiple html
forms.
Like this: Form1 - Form2 - Form3.
After the user completes and submits Form1, the script will process it and
display a different form. etc...
I am new to php, I would need some detailed
Hello,
usually you can not determine clearly who is online on your website at the
moment because http is a session-less protocol (thus php implements a session
mechanism through cookies or session id). However you can use the following
approach:
- add a 'last_seen' field to the users table of
as I said, we are willing to have our product open source, but No
free. and that fair enough, thats why I'm asking about a good method
to protect our products from being used illegaly and keeping it open
source
On Tue, 15 Feb 2005 13:05:52 +0200, Jad Madi [EMAIL PROTECTED] wrote:
as I said, we
On Tuesday 15 February 2005 14:54, Giulio wrote:
only a test.
Your test was successful
--
NSK
http://portal.wikinerds.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gary C. New wrote:
I am currently storing mcrypted data as a base64 encoded string.
I now need to store the mcrypted data as a base32 or base62 string,
because of problems occurring due to the '+', '/', and '=' characters.
It seems that there is only the base64_en/decode default function.
Does
Lars B. Jensen wrote:
So from here, go for it mate
Same here. The more of us running it the sooner it will become the norm ;)
--
Lester Caine
-
L.S.Caine Electronic Services
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jad Madi wrote:
as I said, we are willing to have our product open source, but No
free. and that fair enough, thats why I'm asking about a good method
to protect our products from being used illegaly and keeping it open
source
It's a tough balancing act. Encoding / closing the source with one of
Is there a way to use sessions variables in PHP shell script (without
reading the session file and parse it in the script)?
Do you have a database available? You could put the session info in a database.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Chris W. Parker wrote:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Monday, February 14, 2005 6:29 AM said:
I am looking for interesting approaches to form submissions and error
checking in the forms.
One time, at PHP Summer Camp, I made this one form that, when submitted,
would open the CD
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on the server,
Mikael Andersson wrote:
Hi,
I've a case where I have to run a lots of php-scrips, in a short time, from
inside a delphi-application. Every script connects to the same databas.
Today I use CreateProcess to start php.exe and then I'm using pipes to get
the php-result. I'm doing this for each
I created the token via Javascript where the billing can be controlled
better and to prevent the mixed up of the billing such as incorrect
statements or calculation. I use the billing lock file for that purpose. I
found that it doesn't alway work that way when the browser is refreshed or
Hi,
I am looking for a way to manage email bouncebacks on my Linux server
for one of my client's email marketing system. What I would like to do
is have a way of capturing the email address from the header of each
bounce and insert it into a MySQL table. At that point I can do the
requisite
Scott Fletcher wrote:
I created the token via Javascript where the billing can be controlled
better and to prevent the mixed up of the billing such as incorrect
statements or calculation. I use the billing lock file for that purpose. I
found that it doesn't alway work that way when the browser
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on the server,
is
Hi Matt,
Thanks for the reply, I know how to delete a file I just wanted to know if
its possible to ensure that its deleted automatically as soon as the user
has downloaded it.
Thanks...
Matt M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a database that contains
It's quite easy to pass the session variables to the script. The problem
with sessions and shell PHP scripts, is that PHP doesn't support
sessions on that mode (CLI mode it is called). So, I would have to
manualy read the session file and parse it. If anyone knows what is the
exact function
HI all,
I have a script that uses fopen to acces for read a file using ftp:
$filepointer = fopen($address,'r');
having $address string formed this way:
$address =
ftp:/
/.$FTPuser.:.$FTPpassword.@.$FTPserver./.$FileFolder./.$FileNa
me;
This script always worked for me, it has now stopped
* Neal Schilling [EMAIL PROTECTED]:
I know this question probably gets asked a lot, but I'm setting up a Web
Server shortly and am debating going with PHP 5 on Apache 2.0 or 1.3. In
short, is PHP 5, when combined with either Apache 1.3 or 2.0 on Linux or
FreeBSD, ready for a production
PHP General,
The Situation:
I'm retrieving some email addresses from a database. I want to be
able assemble all the addresses into one string that I can use in the
mail() command. At no time should there ever be more than about 5 email
addresses collected from the database. I want all
I often use this type of construct
$cmd = $_POST['cmd'];
if ($cmd == null) { // do default
but this throws a notice if the ['cmd'] index is not defined. ugly.
using
if (isset($_POST['cmd'] ) {
$cmd = $_POST['cmd'];
}
seems lengthy. is there a way around this?
i tried using
$cmd = @
Try loading he email address to an array from your query;
$addressarray[] = $address;
and when done extracting the rows from your database, parse them into a comma
separated string using
$listofaddresses = implode(, ,$addressarray);
HTH,
Warren Vail
-Original Message-
From: Dave
The Problem:
I can't quite figure out how to take the results of the
mysql_query() and assemble them into a string. In my experiments so far,
I either get a mysql_data_seek(): Offset 0 is invalid for MySQL result
index error, or my mail function sends to a blank address.
no guarantee
Use implode:
http://nl2.php.net/manual/en/function.implode.php
On 15 Feb 2005, at 16:37, Dave wrote:
PHP General,
The Situation:
I'm retrieving some email addresses from a database. I want to be
able assemble all the addresses into one string that I can use in the
mail() command. At no
Dave mailto:[EMAIL PROTECTED]
on Tuesday, February 15, 2005 7:37 AM said:
The Problem:
I can't quite figure out how to take the results of the
mysql_query() and assemble them into a string. In my experiments so
far, I either get a mysql_data_seek(): Offset 0 is invalid for MySQL
Thanks for the compliment on my function. I have since improved upon
it...see below.
I can do the exact same thing as you and get results, but what I can't do is
show the image within an HTML table. I think it is something to do with the
header line, but I dont know how to get around it.
D_c wrote:
I often use this type of construct
$cmd = $_POST['cmd'];
if ($cmd == null) { // do default
but this throws a notice if the ['cmd'] index is not defined. ugly.
using
if (isset($_POST['cmd'] ) {
$cmd = $_POST['cmd'];
}
seems lengthy. is there a way around this?
i tried using
$cmd
I can do the Session Token but problem is two browser windows can have the
same Session Token via File -- New Window or Browser Tab. I have thought
about using the Database Table instead but it all go back to the original
problem with 2 same browser windows that use the same Session.
I'm
Hi
I want to create a single php file which will be able to display multiple html
forms.
Like this: Form1 - Form2 - Form3.
After the user completes and submits Form1, the script will process it and
display a different form. etc...
I am new to php, I would need some detailed instructions, or
Hello Dave,
Tuesday, February 15, 2005, 8:37:02 AM, you wrote:
D while ($tantoData = mysql_fetch_array($tantoResult))
D {
D $tantoEmail = $tantoEmail . , . $tantoData;
D }
D mail($tantoEmail, $subject, $mailcontent, $addHeaders);
Everything looked good up to here.
Brian Dunning wrote:
Is there any way to specify a timeout on a file_get_contents()? I'm
trying to verify a URL but I don't want to spend more than a few seconds
on it.
- Brian
Note that using file_get_contents to do this is only going to work if
your php.ini has allow_url_fopen = 1. Actually I
Hi,
Is the php5 session serializer php_binary faster than the php one ?
Or it's purpose is just to obscure the saved datas ?
thanks,
catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
get rid of :
echo table border='1' cellpadding='0' cellspacing='0'
style='border-collapse: collapse' bordercolor='#11' width='200'
bgcolor='#FFD1A4'
tr
td width='100%' colspan='2' align='center'This is a
testbr.makepie(20,200)./td
/tr
/table;
and only
Dave wrote:
PHP General,
The Situation:
I'm retrieving some email addresses from a database. I want to be
able assemble all the addresses into one string that I can use in the
mail() command. At no time should there ever be more than about 5 email
addresses collected from the database. I
--- Bosky, Dave [EMAIL PROTECTED] wrote:
I'm looking for an easy to read PHP book that will help me learn a
solid foundation in PHP.
If you need a strong foundation:
http://www.oreilly.com/catalog/learnphp5/
If you already have a strong foundation:
Is there any way to specify a timeout on a file_get_contents()? I'm
trying to verify a URL but I don't want to spend more than a few
seconds on it.
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
while ($tantoData = mysql_fetch_array($tantoResult))
{
$tantoEmailArray[] = $tantoData;
}
now all the values are stored into an array ($tantoEmailArray). to convert
an array to a string and join the elements together by a delimiter, use
implode.
hence:
Scott Fletcher wrote:
I can do the Session Token but problem is two browser windows can have the
same Session Token via File -- New Window or Browser Tab. I have thought
about using the Database Table instead but it all go back to the original
problem with 2 same browser windows that use the same
Hello NSK,
Tuesday, February 15, 2005, 8:21:43 AM, you wrote:
N After the user completes and submits Form1, the script will process
N it and display a different form. etc...
There's a boatload of ways to do this, but here's a real simple one to
get you rolling. I'll leave it up to you to make
Hey Guys,
I think I fixed my own problem. I tried calling the PHP script from a
different page like this:
img border='0' src='include/pie.php?slice=100total=200'
This gave me the results I wanted.
Thanks for all your help.
Aaron
Aaron Todd [EMAIL PROTECTED] wrote in message
news:[EMAIL
Dude - that works fine!
can you check your code - make sure you havnt got any white space at all
before the php starts in ANY file, and then check that you've got ALL
erros being reported (because you might have the error cant send
headers, output allready sent at line x) which will prenvent
M. Sokolewicz mailto:[EMAIL PROTECTED]
on Tuesday, February 15, 2005 8:25 AM said:
seems lengthy. is there a way around this?
i tried using
$cmd = @ $_POST['cmd'];
to suppress errors but didnt seem to have ay effect.
still
if(isset($_POST['cmd'])) {
$cmd = $_POST['cmd'];
}
D_C wrote:
I often use this type of construct
$cmd = $_POST['cmd'];
if ($cmd == null) { // do default
but this throws a notice if the ['cmd'] index is not defined. ugly.
using
if (isset($_POST['cmd'] ) {
$cmd = $_POST['cmd'];
}
seems lengthy. is there a way around this?
i tried
personally, I like Julie Meloni's books... PHP essentials.. and fast
and easy web development... these were some of the first books that i
bought and got started with... they are pretty easy to use, especially
if you are not into reading technical manuals
http://www.thickbook.com
On Tue, 15
Dave wrote:
The Situation:
I'm retrieving some email addresses from a database. I want to be
able assemble all the addresses into one string that I can use in the
mail() command. At no time should there ever be more than about 5 email
addresses collected from the database. I want all
Giulio wrote:
HI all,
I have a script that uses fopen to acces for read a file using ftp:
$filepointer = fopen($address,'r');
having $address string formed this way:
$address =
ftp:/
/.$FTPuser.:.$FTPpassword.@.$FTPserver./.$FileFolder./.$FileNa
me;
You really don't need all those '.'
[snip]
I want to create a single php file which will be able to display
multiple html
forms.
Like this: Form1 - Form2 - Form3.
After the user completes and submits Form1, the script will process it
and
display a different form. etc...
I am new to php, I would need some detailed instructions,
I have an array with image names like:
$arrayone = array(1.jpg, 2.jpg);
$arraytwo = array(a.jpg, b.jpg);
Then I have a variable for each to count the number of elements:
$arrayoneElements = count($arrayone);
$arraytwoElements = count($arraytwo);
I'm using the element
Eli wrote:
It's quite easy to pass the session variables to the script. The problem
with sessions and shell PHP scripts, is that PHP doesn't support
sessions on that mode (CLI mode it is called). So, I would have to
manualy read the session file and parse it. If anyone knows what is the
exact
Eli,
Sessions work just fine with CLI (Command Line Interpreter), although there is
little need for them as a CLI script, since once started the script does not
wait on user clicks of a browser for it's next set of input, therefore no need
to use sessions for passing information. Most CLI
Shaun wrote:
Thanks for the reply, I know how to delete a file I just wanted to know if
its possible to ensure that its deleted automatically as soon as the user
has downloaded it.
Yes.
You don't even put the file into your web tree DocumentRoot directory, and
you write a PHP script that
Am Di, den 15.02.2005 schrieb Brian Dunning um 16:48:
Is there any way to specify a timeout on a file_get_contents()? I'm
trying to verify a URL but I don't want to spend more than a few
seconds on it.
http://de.php.net/manual/de/function.fsockopen.php
not so easy a file_get_contents but
Hi..
Thanks for your help. I searched a bit more, combined with your data,
tested, and found a solution. :-)
#!/usr/local/bin/php -q
?php
//initialize parameters:
if ($argc2)
exit(ERROR: session id must be provide as parameter.\n);
$sid=$argv[1];
//initialize session:
Eli wrote:
Hi..
Thanks for your help. I searched a bit more, combined with your data,
tested, and found a solution. :-)
Oops.. forgot the most important line..
#!/usr/local/bin/php -q
?php
//initialize parameters:
if ($argc2)
exit(ERROR: session id must be provide as parameter.\n);
Matt M. wrote:
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will
allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on
Aaron Todd wrote:
I just wrote a little script to play around with the GD library but I am
having a problem displaying it in the browser. I have not problem at all
when I just run the script. But I was trying to make the image in a
custom
function which will return the image when its
Mikael Andersson wrote:
I've a case where I have to run a lots of php-scrips, in a short time,
from
inside a delphi-application. Every script connects to the same databas.
Today I use CreateProcess to start php.exe and then I'm using pipes to get
the php-result. I'm doing this for each
Jad Madi wrote:
I hardly convince my company to have their PHP products open source,
now the challenge is to protect their products from being stolen and
used illegally so we may Encode only one or two files to keep the use
of our products on Certain domain or IP address. Any idea how to
NSK wrote:
I want to create a single php file which will be able to display multiple
html
forms.
Like this: Form1 - Form2 - Form3.
After the user completes and submits Form1, the script will process it and
display a different form. etc...
I am new to php, I would need some detailed
Neal Schilling wrote:
I know this question probably gets asked a lot, but I'm setting up a Web
Server shortly and am debating going with PHP 5 on Apache 2.0 or 1.3. In
short, is PHP 5, when combined with either Apache 1.3 or 2.0 on Linux or
FreeBSD, ready for a production environment? This is,
Ben Miller wrote:
OK - easy one here, I know. Having troubles removing anything that is not
a
number from user input. According to manual, [!] is supposed to mean set
of
non-matching optional characters. Tried
! means that, but only in a completely different context from what you are
What I want to do is to only show 20 pictures at a time with a Next link
and a Previous link. For the first 20 only the Next link would show and
whenever the last set would show only the Previous link would. Every other
time both would show.
Can someone point me in the right direction on
Jochem Maas wrote:
Alex Gemmell wrote:
On Mon, 14 Feb 2005 22:51:42 +0100, Jochem Maas [EMAIL PROTECTED]
wrote:
Alex Gemmell wrote:
#Contain at least one number
if ( !preg_match ('/\\d/', $password) ) return false;
Im pretty sure the double backslash is a typo.
No, it's *NOT* a
Greg Donald wrote:
On Mon, 14 Feb 2005 16:03:10 -0500, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
I have a multi-page form which I build up and store in session
variables. The data saved includes all an internal list of items on
the form (derived from a database table), all the form field
On Tue, 2005-02-15 at 14:00, Richard Lynch wrote:
Matt M. wrote:
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will
allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE()
Hello,
please help me on the following issue.
please reply to [EMAIL PROTECTED] too.
(I asked for help on the php-db ml, but nobody replied)
I have hacked the following function:
function accents($text) {
global $export;
$search = array ( 'à', 'è', 'ì', 'ò' , 'ù');
$replace = array (
Try
SHOW VARIABLES LIKE 'character_set%'
and verify your character set is latin1.
If not, see http://dev.mysql.com/doc/mysql/en/charset-database.html
On Tue, 15 Feb 2005 22:04:30 +, mario [EMAIL PROTECTED] wrote:
Hello,
please help me on the following issue.
please reply to [EMAIL
Never heard of the uniqid() before and looked it up on the php.net. It look
very promising. I can do that. That leave me with 2 questions. How do I
do (or how does it work) this with a token if
1) The webpage is submitted (goes from page 1 to page 2) with the uniqid().
2) The 2nd browser
I am doing something similar and was told to look at the IMAP, POP3,
NNTP extension. I think I have a way of doing it using that extension
(still in planning stage) but I would also be very interested in any
other ideas.
Respectfully,
Ligaya Turmelle
Computer Programmer
Guam International
Hello, all -
I am working on a few small projects to try and teach myself how to
build intelligent forms. I have come as far as making a few simple ones
that are created when their parent function is called. Something like
the following:
function
On Tue, 15 Feb 2005 13:01:45 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
If you have to choose between a meaningful variable name and performance
considerations, buy more hardware! :-)
The cost you'll save in the long run for code maintenance will make it
worth it.
Comments in the
Chris W. Parker wrote:
M. Sokolewicz mailto:[EMAIL PROTECTED]
on Tuesday, February 15, 2005 8:25 AM said:
seems lengthy. is there a way around this?
i tried using
$cmd = @ $_POST['cmd'];
to suppress errors but didnt seem to have ay effect.
still
if(isset($_POST['cmd'])) {
$cmd =
Hi,
thanks, but that seems to be ok:
SQL result
Host: 127.0.0.1
Database :
Generation Time: Feb 15, 2005 at 11:36 PM
Generated by: phpMyAdmin 2.5.7-pl1 / MySQL 3.23.58
SQL-query: SHOW VARIABLES LIKE 'character_set%';
Rows: 2
Variable_name
Value
character_set
Shaun wrote:
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on
Any feedback will be appreciated.
why reinvent the wheel?
take a look at:
http://pear.php.net/package/Html_quickform
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matt M. wrote:
Any feedback will be appreciated.
why reinvent the wheel?
take a look at:
http://pear.php.net/package/Html_quickform
To the people who want to truly understand how the system works, the
wheel, as it stands, is wothless :)
I know I can use a drop-in solution, and I might consider
Brian Dunning wrote:
Is there any way to specify a timeout on a file_get_contents()? I'm
trying to verify a URL but I don't want to spend more than a few seconds
on it.
- Brian
ini_set('default_socket_timeout', $seconds);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to
Scott Fletcher wrote:
Never heard of the uniqid() before and looked it up on the php.net. It look
very promising. I can do that. That leave me with 2 questions. How do I
do (or how does it work) this with a token if
1) The webpage is submitted (goes from page 1 to page 2) with the uniqid().
2)
Shaun wrote:
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be
Shaun wrote:
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
?php
header('Content-type: text/csv');
header('Content-Disposition: attachment; filename=download.csv');
/** Now you perform the MySQL query, DECODE the information and echo it
to the screen.
Shaun wrote:
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
?php
require 'connect.inc';
$query = select * from whatever;
$data = mysql_query($query);
while ($row = mysql_fetch_row($data)){
echo implode(\t, $data), \n;
}
?
You can muck
M. Sokolewicz wrote:
Also note that empty($non_existent_var) will always throw an E_NOTICE
error when the variable in question is not set.
No, it does not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2005-02-15 at 17:00, dan wrote:
Matt M. wrote:
Any feedback will be appreciated.
why reinvent the wheel?
take a look at:
http://pear.php.net/package/Html_quickform
To the people who want to truly understand how the system works, the
wheel, as it stands, is
On Tue, 2005-02-15 at 17:40, mario wrote:
Hi,
thanks, but that seems to be ok:
SQL result
Host: 127.0.0.1
Database :
Generation Time: Feb 15, 2005 at 11:36 PM
Generated by: phpMyAdmin 2.5.7-pl1 / MySQL 3.23.58
SQL-query: SHOW VARIABLES LIKE 'character_set%';
Rows: 2
Hello,
I'm using FCKeditor to edit content on my site.
But the content it produces escapes all the (double quote) characters
from my HTML, and replaces it with \ (backslash-double quote).
Is the a function that I can use to change it back?
Does str_replace() do it.. if so is this how I use it:
The manual to the rescue
http://jp2.php.net/stripslashes
--
Lars B. Jensen, Internet Architect
CareerCross Japan
Japan's premier online career resource for english speaking professionals
http://www.careercross.com
- Original Message -
From: Tim Burgan [EMAIL PROTECTED]
To: [php] PHP
Sorry for clogging up you mail box.
Yes.. str_replace('\', '', $_POST['FCKeditor1']) works.
I must've needed to think through my thoughts by typing it out.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
What you can do is change the php.ini file
In the [session] section like this:
session.use_cookies = 0
session.use_only_cookies = 0
session.auto_start = 0
and now make sure that all script are running under the same session id
at the beginning of each php script you should add the
On Tue, 2005-02-15 at 16:22, M. Sokolewicz wrote:
Chris.
that's a different issue.
There are always at least 2 things you should do with your (expected) input:
1 - check if it *exists* (isset)
2 - check the validity (input-validation)
for step #2 empty is very commonly used, and also a
Why not use the built in FTP functions instead of fopen?
us2.php.net/ftp
Those should be able to handle any of the address problems you have,
seeing as they don't use the ftp://username:[EMAIL PROTECTED] syntax,
they open a connection and work with the FTP system.
--
The Disguised Jedi
[EMAIL
On 15 Feb 2005 Richard Lynch wrote:
Throw an ab (Apache Benchmark) test at it and find out.
Don't just guess or sit there wondering.
You could run test in about the time it took to compose this email --
Perhaps if you are already familiar with ab, which I'm not ... and if
the server
On 15 Feb 2005 Greg Donald wrote:
If you have to choose between a meaningful variable name and performance
considerations, buy more hardware! :-)
The cost you'll save in the long run for code maintenance will make it
worth it.
Comments in the code make using short session variable
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I thought some other people would be interested in the other hashes
that you can do with mhash that aren't on the php.net docs after the
recent news that SHA-1 might be weaker than previously thought:
1 - 100 of 106 matches
Mail list logo