Ok, let me try this again... it seems my code was stripped by the server.
If this doesn't work could someone tell me how I can post script and html
tags within the body of my messages to the list server? Thanks.
---
Excuse por favor mi malo y posiblemente espaol incorrecto.
to properly escape the
characters that need it, something like:
$new_data = addslashes($old_data);
should work... then when you go to display the information, call
stripslashes to de-escape everything:
$display_str = stripslashes($new_data);
I hope this helps.
-Matt
At 06:42 PM 2/3/2001, you
Yeah, I've seen (and used) that. But it requires searching. My idea is to
put together a list of the simple questions in one place ... much like the
apache faq ... and also allowing world input like the php manual does.
You guys have seen this, right?
http://php.faqts.com/
--
PHP
If you're trying to be able to keep reference to the order the records are
added to the table, simply add a date/time field and populate it with the
date/time now() when you insert. You can then sort on that as needed later.
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
I am now getting the parse error on line 64
$sql_authorisation = SELECT * FROM account_details WHERE
account_name='$login_username' AND
account_password=PASSWORD('$login_password');
You're missing the closing on the last line above.
--
PHP General Mailing List (http://www.php.net/)
To
Turn caching off in IE while you're developing ... or hit refresh so you
get the new page.
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
For some reason windows using ie takes doesn't see changed on the apache
webserver as quick as linux ???
--
PHP General Mailing
- Original Message -
From: Clark [EMAIL PROTECTED]
Sent: Saturday, February 16, 2002 9:15 PM
Two questions:
1) Is it possible to write an array to a file?
Yes, serialize it first with http://www.php.net/serialize. You can also
place this in a db text field because it will be a
- Original Message -
From: Navid Yar [EMAIL PROTECTED]
$query = select email from customers // Check for duplicate
entry
. where email = $email;
$query = stripslashes($query);
$result = mysql_query($query);
$num_results = mysql_num_rows($result); // Get the number of
rows in
- Original Message -
From: Phil Ewington [EMAIL PROTECTED]
I am new to PHP and am having problems with no-cache headers, I have the
following code added as the first line of code in the page...
?
header(Expires: Mon, 01 Jan 1997 00:00:00 GMT);
header(Cache-Control: no-store,
I think that mixing of html and php is too complex and leads to hard to
maintain scripts. I find it extremely difficult to understand a scripts
logic when it's spread out over hundreds of lines of php/html.
I use EasyTemplates that came in Web Applications Development with PHP 4.0
by Tobias
- Original Message -
From: Ron Dyck [EMAIL PROTECTED]
but, this doesn't:
function myFunction() {
foreach($_POST as $key=$value) {
if (empty($$key)) {
print empty value $keybr;
}
}
}
Since php variable scope is local unless you define it global, that
$foo = This page is $_SERVER[PHP_SELF];
Or, better:
$foo = This page is {$_SERVER['PHP_SELF']};
You do have to concat to do this in single-quoted (noninterpolated)
strings, though.
http://www.php.net/manual/en/language.types.string.php#language.types.string
.parsing
Can you expand
The other reason is that the parser needs help resolving ambiguity with
more complex expressions inside strings. If you use this syntax all the
time, you won't get bitten in the butt later.
I've used the ${$var} to resolve the ambiguity of variable variables, but I
wasn't aware that if could
I think I got this off the Zend site a year or so ago:
//
function mysql_fetch_enumerations($db_connection, $table_name, $column_name,
$sorted=unsorted) {
/*
Author
Thomas J. Swan
Revision History
1.0Creation of function
1.1Added the ability to sort the array before returning
http://www.superpages.com/ -- the US national telephone directory from
Verizon -- appears to use php. The extension is .phtml ...
- Original Message -
From: Chris Lott [EMAIL PROTECTED]
minutiae of the language itself. So (quickly if possible-- I'd like to
demo
some sites tonight)
with checkboxes, the value of the checkbox is sent to the serveronly if
it's
checked - if it's not chesked, then it's value does go to the server
And, because of that, checkBox[0] is the first box *checked*, not the first
in the html.
--
PHP General Mailing List (http://www.php.net/)
To
the only value I get is the $admin_do which has the value Array - not
much
help
Running your code on my 4.1.2 box, I see:
submit =
select =
value is Change User password
admin_do is
Change User password counter = 0 value is
counter = 1 value is
counter = 2 value is
counter = 3 value is
counter
Don't forget The Exchange Project, which is now called osCommerce:
http://www.oscommerce.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: Lauri Vain [EMAIL PROTECTED]
Hi there,
I would prefer to take away the possibility for PHP to parse my
documents in the /uploaded/ directory.
Why don't you append someother suffix to the file when it's uploaded?
--
PHP General Mailing List
- Original Message -
From: Yogesh [EMAIL PROTECTED]
Hi! can someone please tell me how to get the current date?
See: http://www.php.net/manual/en/function.mktime.php
Now, how can i perform addition with the date so that i mail that user 3
months after the date
he registered that his
Did you compile in ftp support? It's not there unless you do.
http://www.php.net/manual/en/ref.ftp.php
- Original Message -
From: Chris Kay [EMAIL PROTECTED]
Would any one know why when I run command line php I get the following?
[root@*** ]# /usr/bin/php
Remove the double-double quotes and the newline around $image:
$img = GetImageSize($image\n);this is Line 13
It should look like:
$img = GetImageSize($image);
There is no need to double quote a variable when passing as a parm. You
would want to double quote a variable
Then, why not install the IBM odbc driver that comes with Client Access for
Windows and use it?
- Original Message -
From: Collins, Robert [EMAIL PROTECTED]
To: 'Matt Schroebel' [EMAIL PROTECTED]; Collins, Robert
[EMAIL PROTECTED]; 'Rance Hall' [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent
I've read the manual on Session handling functions, but I must have a
thick
block on this concept . What should I do now that I want to use
$HTTP_SESSION_VARS or $_SESSION ? How do I implement it on secondary
pages?
Will I be facing a major re-write of all my code? [Gulp :]
Yes.
1. You must
This is out of the Apache log:
GET /subapp_profiles/act_upload_image.php HTTP/1.1 200 160
POST /subapp_profiles/act_upload_image.php HTTP/1.1 302 5
I do not have a clue where this GET request could come from. This has
caused
a empty sql statement and therefore a db error. How can could
echo td bgcolor=$bgcolorfont face=Verdana
size=1b$cd_id/b/font/td;
Strings work differently when the outer quotes are double or single quotes.
Inside double quotes variables will be converted into their values. Inside
single they will not.
So:
$var = 'Hello World';
echo $varbr\n;
will result
Well it still is in GET method because the url does still exist with the
?plop=foobar but in case I want to use POST method (which I will as my
form has huge textarea) everything disappear.
Also this is a turn around I don't like, I would first understand why it
doesn't work, and if I can
From: Mark McCulligh [EMAIL PROTECTED]
Sent: Tuesday, July 23, 2002 8:47 PM
Subject: [PHP] Re: Credit card checks?
You could use an algorithms called mod10.
Mod 10 catches keying errors. It's use is to prevent digits from being
swapped. So if you key 133791 instead of 137391, the mod 10
From: Gerard Samuel [EMAIL PROTECTED]
Sent: Friday, July 26, 2002 1:07 PM
Subject: Re: [PHP] Paying Job...
Someone posted a link to template contracts yesterday, but I cannot find
it in the mailing list archive.
Bret
Find a contractor or find a contract at Tech-Temp.com
It seems way too difficult to configure db2 on linux. Let alone trying to do
it on freebsd, which I hope to tackle that next week.
I tell you though, I really love mysql, it's so easy to use, and configure.
mysql just works. mysql's performance on a table I have that has roughly
250,000 rows of
From: vic [EMAIL PROTECTED]
Sent: Saturday, August 10, 2002 11:24 AM
Subject: [PHP] HTTP authentication - de authentication
How does one logout from such an authentication?
There's no way to logout. Use a session based authentication.
--
PHP General Mailing List (http://www.php.net/)
From: Daniel Guerrier [EMAIL PROTECTED]
Sent: Saturday, August 10, 2002 12:14 PM
Subject: [PHP] PHP form port
How do i execute a form post with php?
I want to validate CCard info etc.. then perform the
post with no furtheraction from the user.
Basically If not valid stay here and show
From: Christopher Molnar [EMAIL PROTECTED]
Sent: Saturday, August 10, 2002 11:37 AM
Subject: [PHP] subtracting 2 time strings
Help!
I can't find reference to it in the manuals but I need to subtract to
time strings.
ex:
time_in = 11:00
time_out = 13:45
job_time = 2:45
From: B.C. Lance [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 9:53 AM
Subject: [PHP] Re: need help
to do a comparison between two values / variables, you have to use ==
instead of =
= is an assignment while == is a comparison operator
if($row['gid'] == 0)
I write these this way so
From: B.C. Lance [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 10:17 AM
Subject: Re: [PHP] Re: need help
snip
Matt wrote:
if(0 == $row['gid'])
/snip
ahhh. let the parser do the check. works great if you are not comparing
with 2 variables :)
in fact, another way to avoid
From: Sascha Braun [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 10:32 AM
Subject: [PHP] Good Damn
$Query = SELECT * FROM basket_db WHERE session_id = '$PHPSESSID';
try:
$Query = SELECT * FROM basket_db WHERE session_id = '$PHPSESSID' or
die(mysql_error());
--
PHP General Mailing List
From: John Brooks [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 10:21 AM
Subject: [PHP] Problem with $PHP_SELF on PWS
I have PHP installed on PWS running on a Windows 98SE m/c.
When I invoke form action=action.php method=POST everything is fine
and the form data is extracted correctly.
From: Kristoffer Strom [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 10:42 AM
Subject: [PHP] Problem with echo
Got a problem when echo:ing a variable containing alot of text.
When echoing it backslashes (\) every apostrophe (') and quote ().
This I don't like.
And I can't use
From: Wm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 21, 2002 5:17 PM
Subject: [PHP] Mime types?
Is there a resource somewhere that would show what the various MIME types
are? For a file upload page, I want to include .TIF, .AI, .PSD, etc., in
addition to the standard
On Sáb 24 Ago 2002 11:19, Tony Harrison wrote:
How would I count the number of rows in a mysql table with a WHERE
clause?
Martín marqués [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
select count(*) from table_name WHERE .
From: Tony Harrison [EMAIL PROTECTED]
Everytime you call the function, it re-runs the sql, and gives you the same
list. The only time it wouldn't do that was if the id wasn't found. You
could probably change the function to a class, where the constuctor ran the
sql, and then you had another method to get the next entry.
-
From: Then Nam Kheong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 12:26 PM
Subject: [PHP] Posting variable without form
I tried it but it is not successful. I think it is because I tried to
post to a https(SSL link).
I would like to know if I can perform a SSL
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 3:58 PM
Subject: [PHP] Date conversion problems
Having a little trouble with converting dates.
I have, in my database, a bunch of dates stored like this: -M. Month
is
obviously the number of the month (5), not
From: Matt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 5:42 PM
Subject: Re: [PHP] Date conversion problems
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 26, 2002 3:58 PM
Subject: [PHP] Date conversion problems
mktime
The quotes within the quotes.
Change to:
echolt;META NAME=\keywords\ CONTENT=\ $keywords \gt;;
From: Gary [EMAIL PROTECTED]
Sent: Saturday, September 28, 2002 11:15 AM
Subject: [PHP] unexpected T_STRING error
Hi All,
Can someone explain to me why I am getting an error for the following?
snip
Chris Shiflett wrote:
I didn't catch which database you are using, but you can alter a field
in MySQL to add the auto_increment characteristic. Look into the alter
table SQL statement.
/snip
And if you do that, there won't be any trouble with the existing IDs. mysql
will grab the next
From: Jonas Geiregat [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 10:56 AM
Subject: [PHP] Re: date question
and If I want to calculate from given date the next month
like strtotime(next month) gives me the date of one month in advanced
from NOW
but I want to get the date one month
From: Voisine [EMAIL PROTECTED]
Sent: Sunday, September 29, 2002 7:52 PM
Subject: [PHP] Undefined constant error
I'm learning PHP from a book PHP for newbie writen in French and I
have an error on one of the exemple. Undifined constant 'compteur' on
line 15 which is :
if (compteur == 1)
For secure payment pages, I need for the code to determine the persons IP
address, even if they have a spoofer running. Is this possible? Getting
around the spoofer in order to catch criminals using illegal credit card
#'s..
thanks
-matt (cs student)
--
PHP General Mailing List (http
Actually, if you make the names in the form resemble array variables,
this can be greatly simplified.
Something similar to the following might be what you are looking for:
input type=text name=item[0]
input type=text name=item[1]
when the form is passed to the next script, there will be a
, and the page is rather complex, with
various nested includes and so forth.
PHP version is 4.0
I use both IE 5.5 and Netscape 6, it does the same thing in both of them.
Any help or suggestions would be greatly appreciated, this has been bugging
the hell out of me.
Thanks.
--Matt
--
PHP
cookies as well, and the problem still persists.
I know this is long and boring and tedious crap, so I don't really expect
anyone to reply, BUT if any of you have the time or inclination, any
help/suggestions/advice would be greatly appreciated.
Regards,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Your best bet would probably be to use the environment variables
getenv("REQUEST_URI") will get you the URL minus the host name, so
basically it's the relative path.
getenv("HTTP_HOST") will return the hostname (www.whatever.com)
Hope this helps.
Regards,
Matt
At 09
Does anyone know how I can do this?
I've got the file but before I write it to the server I was to change a hex value in
the file, does anyone know how this could be done?
Thanks,
matt
er();
echo "\n\nPage processed in: ". ($etimer-$stimer);
Function timer() {
$milli = explode(" ", microtime());
return $milli[0];
}
Which works but is their a better way to do it?
Thanks,
Matt
getenv('REQUEST_METHOD');
.matt
- Original Message -
From: "Boget, Chris" [EMAIL PROTECTED]
To: "Php (E-mail)" [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 2:49 PM
Subject: [PHP] POST Referral
Is it possible, in PHP, for a page to determine if it
was a
extract(mysql_fetch_array($result));
sets all the variables at once. much neater :)
Maatt
"Jordan Elver" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
If I knnow that a query will only retrun one row, can I do thiss (below)
rather than using a while
PROTECTED]: PHP 4.x\r\nMIME-Version: 1.0\r\nContent-Type:
text/html; charset=iso-8859-1\r\n);
If anyone could assist me I'd appreciate it very much,
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Kay wrote:
-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]
Sent: 06 August 2007 15:38
To: php-general@lists.php.net
Subject: [PHP] compose html body with variables
Hello,
I'm trying to compose the body of an html email to use with the mail()
function. I'm running
Adding the line:
PHPINIDir c:/php/
to my Apache configuration file has worked for me on Windows installs,
assuming that you are using Apache.
On 11/9/06, zerof [EMAIL PROTECTED] wrote:
Alain Roger escreveu:
Hi,
everytime i install PHP, my php.ini must be installed in C:\windows\
folder.
Perhaps svscan and its associated daemontools programs could be
used to monitor the script instead of relying on cron.
http://cr.yp.to/daemontools.html
On 8/2/05, André Medeiros [EMAIL PROTECTED] wrote:
On Tue, 2005-08-02 at 15:09 +0100, Stut wrote:
André Medeiros wrote:
Do like some
Just in case you ever need to check the configure line again in the
future, you can get at it (even if you've built through the FreeBSD
ports) through a phpinfo page. The third section on that page is
labeled Configure Command and lists all the options used during the
build.
Matt
On 5/10/06
On Dec 12, 2005, at 8:21 PM, Ray wrote:
Hello,
Thanks Matt, I appreciate your help. your solution is a lot easier
than mine.
It's also nice to understand what was happening. I was introduced to
PHP
after that type of globals were considered 'evil' so I hadn't seen code
written that way
Install the php5-session port from your ports tree to enable
sessions. It's located in /usr/ports/www/php5-session on a default
install with the port tree.
On 12/19/05, John Nichel [EMAIL PROTECTED] wrote:
Jose Borquez wrote:
John Nichel wrote:
Jose Borquez wrote:
snip
The Makefile
James Benson wrote:
What is the most reliable way to test if a connection is already using
the https protocol, is their a PHP constant or something builtin already?
Thanks,
James
Something like?
if (isset($_SERVER[HTTPS]) 'on' == $_SERVER[HTTPS])
{// ssl
} else {
// non-ssl
}
--
PHP
right back to the login page as though you had
not logged in yet.
What are my solutions to rectify this? The machine itself is not
overloaded, just seems like the sessions holding tank is overloaded.
~ Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
to the login page... if I go and wipe
/tmp all is fine...
What do you make of this?
On Mon, 24 Jan 2005 12:34:21 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
Matt wrote:
I have a high load server which will have anywhere between 500 and 700
session files in the /tmp directory at max load
[EMAIL PROTECTED] tmp]$ cat /proc/sys/fs/file-max
52403
On Mon, 24 Jan 2005 15:39:08 -0600, Greg Donald [EMAIL PROTECTED] wrote:
On Mon, 24 Jan 2005 16:22:23 -0500, Matt [EMAIL PROTECTED] wrote:
/tmp is not it's own partition... but I have 6Gig free on the / drive.
Right now I have 401
That's actually a great idea... I know how to log sessionId... but how
would I go about logging why the session couldn't be started (I'm sure
that would lead me on somewhat of a track of the issue...)... like is
there a variable I should read, or where do I get that information
from?
--
PHP
Ok,
Right now if I look at a session I see the following... this is on a
mail server.. so this is all mail variables and such... There are
currently 319 session files and 1.5MB... you know I'm also wondering
now if I didn't read things wrong.. .I wonder if it said 2.0MB not
GB yesterday..
... just someplace to look
for solutions... like things to watch on the server... clearly, it
seems, disk space and not even files per directory are even a
problem... so
On Tue, 25 Jan 2005 10:36:34 -0800 (PST), Richard Lynch [EMAIL PROTECTED]
wrote:
Matt wrote:
Ok,
Right now if I look
From: James Brennan [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 8:29 PM
Subject: [PHP] help - WHILE in FOREACH
The while statement is only executing correctly for the first run through
the foreach loop. Why?
Thanks,
loop
foreach($desc as $key=$value) {
printf(Show %s Description
- Original Message -
From: bill [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 8:40 PM
Subject: [PHP] HTTP_WEFERER
A script started acting wonky with no changes to it. Doing a bit of debug
at
the time, I uncovered an odd variable called
HTTP_WEFERER
Any ideas?
Seems to
- Original Message -
From: Dhaval Desai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 11, 2003 8:38 AM
Subject: [PHP] Date Comparison
Well, I want to compate date is php, could anybody tell me which is the
best way to do so?
Look at PHPs date functions
- Original Message -
From: David D [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 7:47 AM
Subject: [PHP] strip php tags from code ?
I only want to keep html code of a page.
I want to remove php tags.
It sound like you want the parser output of the page. You can use PHPs
output
Miguel Brás [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
That's not the case, I tested it on ID549 and the previous one should be
548 and he still assume -1
Works for me. Are you adding the ?ID=500 to the url? If you don't have
that, then the ID is 0, so you
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 8:34 PM
Subject: [PHP] alternative control structure syntax
Can someone point me to the page in the manual where this style of control
structure syntax is documented?
- Original Message -
From: Pushpinder Singh Garcha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Session Problem
Can some one pl explain what this means ...
Warning: Cannot send session cache limiter - headers already sent
(output started at
- Original Message -
From: Mike Tuller [EMAIL PROTECTED]
To: php mailing list [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 5:05 PM
Subject: [PHP] $HTTP_GET_VARS
I am following an example in a book and have run into a problem with a
script that I am trying to run under PHP 4.3.0.
From: Noah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 4:39 PM
Subject: Re: [PHP] Evaluate PHP var in stored sql statement?
eval(\$myrow[2] = \$myrow[2]\;);
What's the deal with the leading backslash in ' eval(\$myrow[2] '?
It's escaping the $ so you keep
- Original Message -
From: Glenn Pierce [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 3:52 PM
Subject: [PHP] paths after file in url
Does anyone know why url's such as
http://www.php.net/mailing-lists.php/This/is/a/test
This only works in apache. See Method
- Original Message -
From: Didier McGillis [EMAIL PROTECTED]
Sent: Monday, January 27, 2003 7:14 PM
Subject: [PHP] HELP session cache limiters
Any thoughts on this error?
Warning: Cannot send session cache limiter - headers already sent (output
started at
- Original Message -
From: R0x0r Mc0wnage [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 29, 2003 8:49 PM
Subject: Re: [PHP] Functions and arguments
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL
result
resource in
Sam [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i'm new to this php/mysql thing - i've defected microsoft.
when trying to pull data from a table in mysql, i get the following error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
- Original Message -
From: Joshua Moore-Oliva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 7:08 AM
Subject: [PHP] Function Stack
Is there any way to access the Function Stack from php?
Not built in, but you could manually add statement to do it yourself.
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
To: PHP general list [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 6:08 AM
Subject: [PHP] question on listbox.
Hello friends.
I have a listbox which I populate from a query with the database. It is
working fine. But
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
To: PHP general list [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 7:08 AM
Subject: [PHP] Strange problem
I have the following script. Both the errors show green font when
actually the first error should give a red
- Original Message -
From: CDitty [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 01, 2003 11:26 AM
Subject: [PHP] MySQL/PHP Associative Array Insert
A co-worker is teaching me to move to the next level in php. I have
started using associative arrays for my scripts,
From: Sunfire [EMAIL PROTECTED]
Sent: Sunday, February 02, 2003 4:53 PM
Subject: [PHP] listbox problems
i have a listbox:
select name=users
?php
//connect to db and get query
mysql_connect(.);
mysql_select_db(...);
$query=mysql_query(select username from users);
/*finish the
On Sunday, August 24, 2003 at 9:49 AM Stevie D Peele wrote:
Can someone show me an example of some code that works something like
this :
?php
if cookie is present
redirect to a certain page
?
?php // this must be the first line in the script (or use output
buffering) -- see
- Original Message -
From: Jakob Mund [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 9:04 AM
Subject: [PHP-DB] Possible to store arrays in mySQL without
explode()/implode()
is it possible to store an array in mySQL without using implode() /
explode(), like this:
- Original Message -
From: Øystein Håland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 07, 2003 11:37 AM
Subject: [PHP] PATH_TRANSLATED
Is there some way to retrieve the phpvariable PATH_TRANSLATED on my local
win2k+Apache2+php4.3.2 box?
echo Path Translated:
- Original Message -
From: Jeremy Bowen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 07, 2003 1:30 PM
Subject: [PHP] Column count doesn't match value count at row 1?
That means the the number of columns in the fields clause doesn't match the
number in the values. For
- Original Message -
From: Robert E. Harvey, M.D. [EMAIL PROTECTED]
To: php [EMAIL PROTECTED]
Sent: Tuesday, February 11, 2003 6:21 PM
Subject: [PHP] grief with printf(), padding and alignment of text
I'm running PHP 4.2.2 and I'm having trouble with the printf()
function. I want to
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 9:43 AM
Subject: [PHP] need help with a table please - sorry
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted such that
some advice? I would really appreciate it. Thanks.
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: Atif Jakupovic [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 1:14 PM
Subject: [PHP-INST] PHP: Cannot send session cookie - headers already sent
by
Please, could you help me to find out why I'm getting an error message
like one below.
Warning:
I know of the following...
www.phpdoc.de - used by PEAR, scattered documentation
http://phpdocu.sourceforge.net - lots more documentation, hate the framed
output
http://www.ez.no/article/articlestatic/35/1/42/ - eZ phpdoc, from the people
who make the eZ CMS
I'm interested in hearing from
Then most likely display_errors is off in php.ini and you have a syntax
error in an include file used by all of the scripts.
- Original Message -
From: Angel Gabriel [EMAIL PROTECTED]
To: 'Matt' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 12:40 PM
Subject: RE
From: Oscar F [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 2:17 PM
Subject: [PHP] Progress bar for uploading files
I'm working on a file uploading script, but I need to know if there is a
way to know what's the progress of the file, so I can make la a progress
bar?.. Any ideas?
1 - 100 of 1597 matches
Mail list logo