Hmm, well, to answer my own question, it looks like
the following will do. Sorry to make an ass of
myself. Hope you were all entertained!!
Send this file:
--- Jough Jeaux <[EMAIL PROTECTED]> wrote:
> Greetings all, I want to allow users to upload
> images
> to an online profile. Anyone k
php-general Digest 27 Dec 2003 06:34:41 - Issue 2496
Topics (messages 173337 through 173354):
Re: Migrating from SSI and Perl
173337 by: Radek Zajkowski
173338 by: Pablo Gosse
173344 by: Philip Pawley
Re: Apache 2 and PHP
173339 by: Per Jessen
Re: How New Is
Greetings all, I want to allow users to upload images
to an online profile. Anyone know how to let the user
browse his/her local filesystem from the web page?
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
PHP Gen
Basically, have an array of # of days per month. Do a quick compare given
the month for the # of days. For the sake of example, we'll assume the month
in question has 31 days. So, here's some givens:
$month_days = 31;
$former_plan_days = $current_date;
$new_plan_days = ($current_date - $month_days
Hi guys,
Its not 5am here and have started on a blasted problem where am feeling like
a maths dumbass...the old noodle is just not working, any help appreciated.
Problem, selling 4 packages rangeing from $27.50-$99.00 a month...the
subscriber can change anytime he wants from one package to the oth
MySQL version: 4.0.16
PHP version: 4.3.2
Problem code:
$query = "SELECT * FROM tablename
WHERE columnname LIKE '%%'";
mysql_query($query);
Results:
query fails, mysql_errno() returns 1064 (syntax error)
I have tracked the problem down to the WHERE clause; using any other
number of digits (except e
Please don't start a new thread by hijacking an existing thread. Always
start with "new massage".
Simple answer for your question is:
foreach($orders as $order_key => $dummy) {
$orders[$order_key]['Newitem'] = "something";
}
Andras Kende wrote:
Hello All,
I would like to put 1 new field
Steve --
...and then [EMAIL PROTECTED] said...
%
%Parse error: parse error, unexpected T_VARIABLE in [path to file] on
% line 11
%
% The code:
%
...
% 10 http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgp0.pgp
Description: PGP signature
Cesar,
Sorry to have taken so long to answer. My day got complicated. Anyway,
here's the code all over again, with the last changes I was advised to
make. I took out the line spaces and added line numbers. But first, the
latest error message:
Parse error: parse error, unexpected T_VARIABLE in
Hello,
On 12/26/2003 09:06 PM, Cf High wrote:
I've got the O'Reilly "Programming PHP" & "PHP Cookbook" PHP books --
excellent PHP Resources -- however, the OOP sections are rather short.
I'm hoping to get my hands on a relatively in-depth OOP book.
It doesn't look like there are any PHP specific
Hey all.
I've got the O'Reilly "Programming PHP" & "PHP Cookbook" PHP books --
excellent PHP Resources -- however, the OOP sections are rather short.
I'm hoping to get my hands on a relatively in-depth OOP book.
It doesn't look like there are any PHP specific OOP books out there yet, so
any OOP
Labunski wrote:
Hello, thanks in advice and Merry Christmas!
I'm a newbie in PHP, so I can't imagine how to add the "Part 1" to the "Part
2"..
/// Part 1
switch ($to)
{
case "roman":
$to = $address;
break;
case "none":
// here should go the "Part 2", but I don't know how!
break;
}
///
Hi Radek,
I tried to do something with this and failed dismally.
Is it possible for you to give me a really basic working example of what you suggest?
Thanks,
Philip Pawley
At 26/12/03 12:29 -0500, you wrote:
>Check out shell_exec() and its siblings. I'd likely use it like so $output =
>shell
Hello, thanks in advice and Merry Christmas!
I'm a newbie in PHP, so I can't imagine how to add the "Part 1" to the "Part
2"..
/// Part 1
switch ($to)
{
case "roman":
$to = $address;
break;
case "none":
// here should go the "Part 2", but I don't know how!
break;
}
/// Part
Rajesh Kumar wrote:
Hello,
Here I've got a few related questions, which are not stated explicitly
in the manual.
1. The manual says that the magic_quotes_gpc setting cannot be set at
runtime. Is it not possible to set this setting in an ini file, and
parse it with the parse_ini_file() func
Please post your code from line 30 to 40. Place a mark in line 34.
=)
[EMAIL PROTECTED] wrote:
parse error: parse error, unexpected $ in [my path to this file] on line 34
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks very much, and Merry Christmas to all--rather rude of me to've been
whining for help all this time and not remembering the courtesy of holiday
wishes.
Okay, I made the change to:
$txtBoxCounter = $_POST['txtBoxCounter'];
$hdnCounter = $_POST['hdnCounter'];
Now I get:
parse error: parse e
Radek Zajkowski wrote:
> A few months back the official PHP website still warned againts PHP and
> Apache 2. I am wondering about the current status of these two
> technologies when used together. I am about to configure a web server and
> was going to use Apache 1.3 with PHP4+ as opposed to Apach
My site, at the moment, uses SSI to call a Perl browser-sniffing script.
I would like to:
1. use php to call the Perl script.
2. then save the values the Perl script outputs as php variables.
Can this be done? If so, how?
Hi, Philip. If you are not 100% stuck on using a perl script to sniff
t
Check out shell_exec() and its siblings. I'd likely use it like so $output =
shell_exec("perl myscript.pl"); and then do something with the $output
variable
R>
> -Original Message-
> From: Philip Pawley [mailto:[EMAIL PROTECTED]
> Sent: December 26, 2003 12:07 PM
> To: php-general
> Subje
php-general Digest 26 Dec 2003 17:08:02 - Issue 2495
Topics (messages 173328 through 173336):
magic_quotes_gpc setting question.
173328 by: Rajesh Kumar
Where and how do i use $_post etc
173329 by: Piet
173331 by: Al
173332 by: Piet
17 by: Mike Br
I am new to php.
My site, at the moment, uses SSI to call a Perl browser-sniffing script.
I would like to:
1. use php to call the Perl script.
2. then save the values the Perl script outputs as php variables.
Can this be done? If so, how?
Thanks,
Philip Pawley
--
PHP General Mailing List (ht
Change:
$txtBoxCounter = $_POST['txtBoxCounter]
$hdnCounter = $_POST['hdnCounter]
to
$txtBoxCounter = $_POST['txtBoxCounter'];
$hdnCounter = $_POST['hdnCounter'];
(Notice the ' at the end of txtBoxCounter and hdnCounter.
Merry X'mas
[EMAIL PROTECTED] wrote:
Okay, for everyone took a break for C
Okay, for everyone took a break for Christmas, and to update Jasper and
Jeremy--who've tried big-time to help me--here's again the sitch and where
I stand as of now.
I'm on a Macintosh PowerBook running OS X.2.1 and PHP 4.3.0. I'm tryning to
run the following code:
persistence demo
Persis
Let's make some assumptions -
1) having register_globals on is bad
2) we all like to write scripts as secure as possible
Given #1 and #2, if you stop referencing variables directly (e.g. as
$firstName in the script below) since register_globals is off, it
immediately adds a degree of security to
Why would i do this long coding in the second page "script.php" the
variables values is already available in "script.php" when i do a post or
get, if i use $_POST or $_GET to define a variable already available, that
seems like a lot of extra coding for no reason.
"Al" <[EMAIL PROTECTED]> wrote in
"Piet" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi
>
> I am trying to find examples of how and where to use $_POST, $_GET etc. I
> searched a lot of places, but cant seem to find decent examples or a
> tutorial or something.
$_POST and $_GET are associative arrays containing t
Hello All,
I would like to put 1 new field into this multidimensional array...
$orders =
1 => Array (11)
Name => JUDY
Order => 334455
2 => Array (11)
Name => MARY
Order => 12590
TO:
$orders =
1 => Array (11)
Name => JUDY
Order => 334455
Newitem => someting
2 => Array (11)
Nam
Hi
I am trying to find examples of how and where to use $_POST, $_GET etc. I
searched a lot of places, but cant seem to find decent examples or a
tutorial or something.
Can someone point me in the right direction?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
29 matches
Mail list logo