John W. Holmes wrote:
From: "Caleb Walker" <[EMAIL PROTECTED]>
This looks like modifications that need to be made to the application. I
dont really want to touch the application. Instead I just want PHP,
through the php.ini file or whatever to take the session data and put it
in a database instea
Caleb Walker wrote:
I have 2 servers fail-over/load-balanced behind an F5
bigIP. I want session data to be maintained in the event one server takes
a dive. In this scenario, if a user is in the middle of doing
something while logged in, they will not have to lose all work and log
back into the se
Vincent DUPONT wrote:
Hi,
I need to do a text search on some fileds in a database. I would like the users to be able to use some syntax like 'AND' 'OR' 'NOT' parentheses () and quotes to make their search queries more powefull.
I face 2 problems :
1. parse the query
2. execute the search (create
charles kline wrote:
Hi all,
I was having a conversation with a friend and talking about coding
standards in the open source community (focusing on PHP). I seem to
remember there being a document out there that sort of laid it out
pretty well.
Anyone know where I might find a copy?
PEAR has a p
Gabriel Guzman wrote:
On Thursday 01 April 2004 09:41 am, Jeff D. Hamann wrote:
I often travel and would like to be able to upload digital photos to my
server (either using a simple multiple file upload (one that I can select
multiple file using the windows file dialog, or some other method that's
Luis Mirabal wrote:
actually, you can control your printer, look:
http://www.php.net/manual/en/function.printer-set-option.php
you have to do:
$handle = printer_open();
printer_set_option ($handle, PRINTER_ORIENTATION ,
PRINTER_ORIENTATION_LANDSCAPE);
printer_close($handle);
you've got many inter
x27;t know what 'value' represents, but it will give you an array
something like this:
print_r($variable);
Array
(
[michael] => nolan
[joe] => bloggs
[john] => smith
)
HTH,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ryan A wrote:
Does this look nicer?
$fields = array('username', 'password', ...);
foreach($fields as $key) $$key = $_POST[$key];
Hi Marek,
A bit confused...whats the meaning of the double $ for "key"...or is that a
typo?
Thanks,
-Ryan
This manual page explains:
http://uk.php.net/manual/en/langu
Outbound wrote:
Hello,
do you have any recommendation about what wysiwyg html(javascript)
editor to use in php projects ? People usually don't like textareas
and want to increate usability :-/
Best regards,
Roman
HTMLArea. Version 2 supports IE5.5+
V2: http://www.interactivetools.com/products/
led to open
stream: Is a directory in /var/www/html/uploadproc.php on line 11
Warning: move_uploaded_file(): Unable to move '/tmp/phpiMrdlQ' to
'/var/www/html/upload/' in /var/www/html/uploadproc.php on line 11
Error Moving the uploaded file failed.
From: Michael Nolan <
Mike Mapsnac wrote:
The script should upload files (images).
Error message is give below, any ideas why I get this errror message?
Parse error: parse error in /var/www/html/uploadproc.php on line 3
die() needs brackets around its arguments, eg:
die("Error! The expected file wasn't a part of the s
Check the permissions and ownership of the files, especially if you ran
the script as some privileged user like root. chmod or chown can be
used to changed these.
Mike
Bryan Henry wrote:
Browser and FTP client act as if the image
files do not exist, even though the directory
contents can be v
Dave Carrera wrote:
Hi List,
I would like to allow my visitors to send attachments via my contact form.
I already have email validation, field verifications and other nice bits but
I am stuck on the add attachment bit.
Also would this be limited to one file or can multiple files be allowed ?
Tha
Howard Miller wrote:
Hi (again),
I need to unzip (in/from PHP) files that have been zipped using pkzip on a
windows machine using a password.
Has anybody any thoughts on how to do this. I was just going to call a
command line program (if I can find one!), but thought I would ask if there
is someth
Ryan A wrote:
$result=mysql_query("SELECT distinct(order_id),name,status,total FROM
".
$tcname."_h2o LIMIT $limit1, $limit2");
The distinct keyword applies to the whole row. Since you're including
other fields that will be different even though the name is the same,
MySQL does not consider them
Shaun wrote:
Hi,
does anyone know the format of the postcodes in the UK so I can keep my
database accurate?
Thanks
http://www.royalmail.com/portal/rm/content1?catId=400044&mediaId=9200078#3400055
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Aaron Merrick wrote:
I'm reading in to a variable $section1 an entire php file that creates a
mysql table. I can output the variable in a new file just fine (figured out
what all had to be escaped in the original file).
My problem is, I want to replace the table name in the original file with a
new
Burhan Khalid wrote:
BEOI 7308 wrote:
Hi
I want to substract $first_date to $second_date and print the result
this way :
xx days, xx hours, xx minutes
i tried (strtotime($second_date)-strtotime($first_date)) but what i
get is a timestamp and i dont know what to do with it
Is there already a
William Bailey wrote:
Hi all,
Can somebody please explain this for me...
[EMAIL PROTECTED]:/usr/home/wb [11]-> php
$time = strtotime('now -5 weeks');
printf("\n\n%s is in week %d of the year %d\n\n", date('Y-m-d', $time),
date('W', $time), date('Y', $time));
?>
^D
2003-12-30 is in week 1 o
19 matches
Mail list logo