, "$file");
$file = str_replace("~", "", "$file");
$file = str_replace("`", "", "$file");
$file = str_replace(";", "", "$file");
$file = str_replace("|", "", "$file");
$file = str_replace("{", "", "$file");
$file = str_replace("}", "", "$file");
$file = str_replace("[", "", "$file");
$file = str_replace("]", "", "$file");
$file = str_replace("%", "", "$file");
$file = str_replace("?", "", "$file");
$file = str_replace("(", "", "$file");
$file = str_replace(")", "", "$file");
$file = str_replace("#", "", "$file");
Thanks! :)
..rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I can't get to the php archives... every time i try a search of the
mailing list, I get nothing... :-(
--
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: [EMA
Dear Members ,
Does anybody of you have a webserver at home
using ADSL or other connections ?
If any , could you tell me What would be the acceptable Hardware to run
5 or more sites at home with an
256 k ADSL ? (Memory , proccesor , etc etc )
Do I have to have T
Hi guys ,
I was Wondering if it would be possible to write a proyect like Control
Panel or WebMin (both are in Perl ) using PHP instead or PERL ?
Would it be possible ?
PHP has the power and flexibility like Perl to write TRUE Systems programs that
could be able to manage a
Hi guys ,
I was Wondering if it would be possible to write a proyect like Control
Panel , WebMin (both are in Perl ) using PHP instead of PERL ?
Would it be possible ?
PHP has the power and flexibility like Perl to write TRUE Systems programs that
could be able to manage all
hi guys ,
I have a problem with my Apache and PHP configuration under
win 98 .
I can't make it works..
This is my httpd lines pointing to php :
LoadModule php4_module c:\php\dlls\php4apache.dll
AddType application/x-httpd-php .php4
ScriptAlias /php4/ "C:/php/"
Hi guys ,
I would like to know if there any package ready to install with Apache ,
Mysql and PHP4 under Windows ???
I time ago I think , I saw such a package but I don't remenber the address or the link
to the web site .
If any of you know something I'll be looking forward to
; = Works
Perfect
I am sorry for coming to the list for help , but i am at a final loss, i have also
tried shell_exec and exec to clear anything up. I have hit the imagemagick mail list
and i got "Php Might have some issues" so if anyone can lend a hand to get that
system command to work , i would be most appreciative.
Best Wishes
Rick Wilson
files are not getting passed in?
Thanks,
/rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
files are not getting passed in?
Thanks,
/rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi guys ,
could you tell me please , Where I can find the
php4apache.dll ?
Thanks ,
Ricardo
I'm running a script that times out durring a certian action.
Fatal error: Maximum execution time of 30 seconds exceeded in
/usr/local/web/htdocs/mail/functions.php on line 1200
The error logs say: php in free(): warning: recursive call.
The offending lines of code, and here's what really gets
Have you tried putting the newline character (\n) into your html? That
works great for me. My only problem is that the output from an XSL
transformation has all the line breaks stripped out...
- Original Message -
From: "Mat Marlow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Frid
instead of returning that line, put it into some variable... like:
while ($row = mysql_fetch_row ($result)) {
$map_list .= "$row[0]"; }
}
return $map_list;
- Original Message -
From: <[EMAIL PROTECTED]>
To: "'Php-General (E-Mail)" <[EMAIL PROTECTED]>
Sent: Friday, July 06, 1979 8:27 A
em is I don't know proper
programming techniques...
Has anyone tried to expand into other languages? I like perl due to its
heavy similarity to PHP, but I like to focus on web stuff.
rick
- Original Message -
From: "Chris Lott" <[EMAIL PROTECTED]>
To: "Php-General (E
Same as with two numerical values... use the == operator
if($text1 == $text2) /* only true if the 2 vars are equal */
if($text1 = $text2) /* this sets $text1 to the same value as text2 and is
always true unless $text2 = false */
http://php.net/manual/en/language.operators.comparison.php
-
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
user behaviour, patterns with different user groups.
Is this possible with php and it is a major undertaking ? just trying not to
get ahead of myself here..
are there any tutorials or scripts or books that you know of ?
Thanks
Regards
Rick
based URLs, but I have been able to grab entire web sites to be
hosted with Apache. You may need to use sed or something to clean up the
tags.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 06:47 PM 11/29/02 -0800, Daren Cotter wrote:
Must you send three separate requests to the list? One is enough.
You might find some useful information here:
http://marc.theaimsgroup.com/?l=php-general&m=95423103630080&w=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
IT IS CONSIDERED VERY RUDE TO SPAM THE LIST WITH REPEATED MESSAGES
ONE IS ENOUGH!!
Yes, I am shouting.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that attachemnt!!!
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hi,
>
> please could someone tell me how i can return a month in text from an int
> ie
>
> getMonth(12)
>
How about:
$Months = array( , 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
'Ju
$AMPM = 'PM';
}
else {
$AMPM = 'AM';
}
echo substr( $Date, 5, 2 ), '/', substr( $Date, 8, 2 ), '/',
substr( $Date, 0, 4 ), ' ', $Hour, substr( $Date, 13, 6 ), $AMPM;
You may need to adjust the numbers in the substrs...
R
At 11:51 AM 12/5/02 +1100, Justin French wrote:
on 05/12/02 11:37 AM, Rick Widmer ([EMAIL PROTECTED]) wrote:
> $Hour = substr( $Date, 11, 2 );
> if( $Hour ) > 12 {
> $Hour = $Hour - 12;
> $AMPM = 'PM';
> }
>
> else {
> $AMPM = 'AM';
> }
>
&
bexec/libphp4.sl into server: Unresolved
external
./apachectl start: httpd could not be started
Does anyone know what this means? I think the MySQL-libs are trying to
source other libs but I'm not sure. Has anyone run into this problem before?
Any solutions/help/words of wisdom are great
At 09:45 PM 12/6/02 -0500, Stephen wrote:
How can you find the meadian (or middle number) of a list of numbers? If
there is an even amount of numbers, how would I still find it?
load the list into an array, in numeric order...
then:
$List = array( 1,2,3,4,5,6 );
$Middle = ( count( $List ) -
At 07:05 PM 12/7/02 -0500, Stephen wrote:
Wouldn't this only work for an even ammount of numbers? Like 1, 2, 3, 4 has
4 numbers...
Did you try it? I'd hate to think I've done more work to solve your
problem than you have...
Even:
$List = array( 1,2,3,4,5,6 );
$Middle = ( count( $List ) -
l the
entries have the same number of hits there is no mode. I'm not sure what
the mode of (1, 1, 2, 5, 9, 19, 19) would be, but I'm suspect a good
definition of mode will tell what to do if more than one value ties for
having the most hits.
Rick
--
PHP General Mailing List (htt
etime since PHP4 came out they added the preferred $str{0}
option, which is the only one that should be used in new code. Extracting
characters from a string with [] is depreciated, and may stop working someday.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Try $_POST['name'] and $_POST['age']
Try $HTTP_POST_VARS['name'] and $HTTP_POST_VARS['age']
- Original Message -
From: "David Scott" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, December 10, 2002 10:56 AM
Subject: [PHP] Help please: Unable to get $_POST["variable"]; to work in a form.
I am
What version of PHP are you using? I believe that anything earlier than 4.05 does not
support $_POST.
Did you try $HTTP_POST_VARS['name']? This will work, regardless of version.
- Original Message -
From: "David Scott" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, December 10, 2002 12:54 PM
First, please respond to the list, not me.
Second, I'm not asking the question, David Scott is.
Third, I don't use " " either; I use ' '
- Original Message -
From: "Victor" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[E
Hey Aggie,
Show us the rst of the code. stristr() should not be a problem. Chances are there's a
blank line elsewhere that's being sent.
- Original Message -
From: "KANM MD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 2:34 PM
Subject: [PHP] Question Rega
iginal Message -
From: "KANM MD" <[EMAIL PROTECTED]>
To: "Rick Emery" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 11, 2002 2:54 AM
Subject: Re: [PHP] Question Regarding Cookies, Sent Headers, and Functions That Return
Values
Here is t
First, you've asked the wron list; ask the mysql list
Second: ALTER mytable ADD COLUMN new column INT UNSIGNED AFTER old_column;
- Original Message -
From: "Shaun" <[EMAIL PROTECTED]>
To: <>
Sent: Wednesday, December 11, 2002 8:25 AM
Subject: [PHP] Add column to table
Hi,
please coul
If it is a GIF file, the header format is:
Byte #
0 - 2 GIF
3 - 5 87a or 89a
6 - 7 Width (in pixels)
8 - 9 Height (in pixels)
Be advised, the dimensions are in reverse major order; that is, 50 pixels is
represented
as "32 00"
- Original Message -
From: "Shaun" <[EMAIL PROTECTED]>
The page would not display for me. It did, however send the following HTML. Please
note
that the "?PHPSESSID" is not enclosed in delimiters. Also, PHPSESSID needs to be
$PHPSESSID. Could that be the problem? Finally, dump the FRAMES.
Free MySQL Hosting
Free MySQL Hosting - NukedWeb
MYSQL will do all the formatting that you need. Look up sect 6.3.4, "Date and Time
Functions" in mysql manual. Look at the DATE_FORMAT(date,format) command
- Original Message -
From: "Clint Tredway" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 13, 2002 11:55 AM
Subj
At 04:44 PM 12/17/02 -0500, 1LT John W. Holmes wrote:
What I was thinking is that you have one table with
Order_ID
Name
Address
Flag -> Here you flag this as SHIP_TO or BILL_TO
etc...
That layout would be better than:
Order_ID
Ship_name
Ship_address
Bill_name
Bill_address
etc...
Which is what
addslashes()
- Original Message -
From: "Jim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 11:26 AM
Subject: [PHP] Regex Help
Could someone show me how to use preg_replace to change this:
test test test
into:
anotherword test anotherword
basically, I
o accomplish is to change 'test' into 'anotherword'
only if it is not within the option tag.
Thanks!
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "Jim" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, Decem
Following on to the L T:
$ar = explode("/",$thestring);
thenL
$ar[0] = 06
$ar[1] = 07
$ar[2] = 200
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "'Diana Castillo'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, December 19, 2002 11:56 AM
Subject: RE: [PHP]
switch()
{
case a:
case b:
case c:
default:
}
RTFM
- Original Message -
From: "Max Clark" <[EMAIL PROTECTED]>
To: <>
Sent: Thursday, December 19, 2002 12:19 PM
Subject: [PHP] case statement?
Hi-
I was wondering if php had a case function?
Instead of building a large if/elseif/
ortunately, that doesn't quite accomplish the task
> either. The other example for my first post would be mangled with that.
>
> - Original Message -
> From: "Rick Emery" <[EMAIL PROTECTED]>
> To: "Jim" <[EMAIL PROTECTED]>; <[EMAIL P
What do you mean "return to the calling page"?
The exit() command simply ceases processing of PHP and HTML.
I believe what you're saying is that if the user clicks on a PHP hyperlink on the first
page, then goes to another page. If there is something "wrong" there, you nwant to
return
to the pag
switch() does not work that way. Switch uses the value in the parentheses and selects
a
CASE based upon that value. Read the manual.
You will have to use a series of if()-elseif()-else()
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Do you mean loggged-in in the current browser session? If that, then cookies are good.
If you mean EVER ogged in, then you'll want to look at a database, perhaps, mySQL.
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002
Actually, you don't need to send this as an html hyperlink. Simply using:
http:\\www.aircharterunited.com\pages\activate_account.php?clientid=$uname
Should work; it does for me.
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, Decembe
that should be:
http://www.aircharterunited.com\pages\activate_account.php?clientid=$uname
(Grrr...that's what I get for using copy/paste from original email)
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "Edward Peloke" <[EMAIL PRO
Please show a bit more of the actual code
- Original Message -
From: "Beauford.2002" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Friday, December 20, 2002 9:55 AM
Subject: [PHP] Problem with functions
Hi,
I keep getting errors in my script that says 'x' function is
This is not realy a PHP question; rather, it is an OutLook question.
Regardless...when you opened the OutLook window to create your mail, did you go to the
Menu->Format and select "Rich Text (HTML)""
- Original Message -
From: "Steve Jackson" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PR
/lib:.
You can group files into directories under the include_path to keep related
include files together.
include( 'category/program.inc' );
will search every directory in the include path for a subdirectory named
'category' containing a file 'program.inc' to
At 03:06 AM 12/23/02 -0200, Alexandre Soares wrote:
Hi All,
Where I can get more information about a free library to plot 2d and
3d data information,
http://www.aditus.nu/jpgraph/
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Can't do this with PHP, which is server-side. You can, however, use PHP to generate
JavaScript that will set the window parameters when executed.
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "Php-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002
Use PHP print/echo statements to create the JavaScript code, just as you would HTML
code.
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "'Rick Emery'" <[EMAIL PROTECTED]>; "Php-General (E-mail)"
<[EMAIL PROTECTE
Do you know JavaScript? If not, start there.
print "open(\"url\",\"window_name\",\"width=400,height=300menubar=no,status=no\")";
- Original Message -
From: "Jody Cleveland" <[EMAIL PROTECTED]>
To: "'Rick Emery'"
You accidentally published this to the wrong email list. I assume you meant to send
this
to the MySQL email list.
- Original Message -
From: "Miro Kralovic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 9:10 AM
Subject: [PHP] MySQL vs PostgreSQL
> Hi,
>
>
For my Linux (RedHat 7.1), it's at /etc/php.ini
- Original Message -
From: "Vicente Valero" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 10:25 AM
Subject: [PHP] Forms
I'm having problems using variables from a html form. I've been reading, and it seems
tha
Another good PHP/mySQL calendar application. Group scheduling, etc. Does not have
extraneous things such as web-mail. Cost is $35
http://abledesign.com/demo/calendar/
rick
"People will forget what you said. People will forget what you did.
But people will never forget how you made them
What happened when you experimented with this code? You did try, right?
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Monday, December 23, 2002 11:57 AM
Subject: [PHP] Are there macros in PHP?
> Hi,
>
> I need to search a MySQL table bas
with 1.3 until the PHP developers announce Apache 2 support.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Text box:
print "\n";
List box:
print "\n";
while($row = mysql_fetch_array($result))
{
extract($row);
print "$data_title\n";
}
print "\n";
- Original Message -
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 26, 2002 6:13 AM
Subject: [PHP]
SELECT *
FROM Entries
ORDER BY RAND()
LIMIT 1
This picks one record from the Entries table at random. You may want to
send your self an email with the results, as this is truly random.
May as well let the computers do the work...
Rick
--
PHP General Mailing List (http://www.php.net
www.nomonthlyfees.com
$200 first year, $70 per year thereafter.
I put all my clients with this service.
rick
"People will forget what you said. People will forget what you did.
But people will never forget how you made them feel."
- Original Message -
From: Stephen
To: PHP
output webpage?
First build the names in variables...
$LogoName = "/images/logos/$ClubID.png";
$PhotoName = "/images/photos/$ClubID.png";
then later when you are painting the page.
Don't forget to include Width, Height and Alt tags in the tags.
Rick
--
PHP Gener
At 03:55 AM 12/27/02 -0500, Maciek Ruckgaber Bielecki wrote:
has anyone an idea of how can i do some kind of decent delay (instead of
some shell_exec doing pings) :-P
Have you tried sleep()?
http://www.php.net/manual/en/function.sleep.php
Rick
--
PHP General Mailing List (http
At 08:40 PM 12/27/02 -0700, The Doctor wrote:
Is it just my or are there problems with static Aapche 1.3.27 compiles?
I don't know if it is _just_ you, but my static install compiled and is
running just fine.
SuSE 8.0
php 4.3.0
Apache 1.3.27
Mod_SSL 2.8.12-1.3.27
OpenSSL 0.9.6h
ming 0.2
At 11:29 AM 12/28/02 -0700, The Doctor wrote:
On Sat, Dec 28, 2002 at 04:04:14AM -0700, Rick Widmer wrote:
> At 08:40 PM 12/27/02 -0700, The Doctor wrote:
> ./configure --with-apache=../apache --with-mysql --with-pgsql=/usr
> --enable-cli --enable-calendar --enable-debug=no
> --with
The last line cannot be producing the warning; it does not refer to a file.
Please show us the EXACT error message.
Are you certain the file was opened? Did you try to print $stuff after reading it?
Did it have the
info you thought it should?
- Original Message -
From: "Phil Powell" <[
At 06:41 AM 12/30/02 -0300, Cesar Aracena wrote:
Hi all,
This is a fast question. Does anyone remembers how to obtain the ID auto
assigned after an INSERT statement under MySQL?
http://www.php.net/manual/en/function.mysql-insert-id.php
Rick
--
PHP General Mailing List (http
are wasting time and memory making another copy
of the data.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Most PHP extensions are just wrappers that allow you to call
existing libraries.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
things in the schema. I have widgets
in my toolkit that build arrays of checkboxes, radio buttons or drop
down lists based on the values allowed in an enum or set. They get used
quite a bit, in fact losing these widgets may be the biggest thing
keeping me using MySQL. (Harder prototyping is a
At 05:23 PM 12/31/02 +0800, Denis L. Menezes wrote:
Hello friends.
Is there a routine in PHP I can use to find if today's date fits between
the commencing date and the ending date?
SELECT * FROM Table WHERE NOW() >= StartDate AND NOW() <= EndDate
Rick
--
PHP General Mailing
looks for sendmail if it is not found the mail function is not
compiled in, resulting in the undefined function call. Mine is in
/usr/sbin/sendmail. Grep the results of ./configure for 'sendmail' to see
what happened.
./configure ... > tempfile
grep sendmail tempfile
Rick
-
the same fieldname in both. The ON syntax allows you to use
differently named fields, and/or a different table.
Courses has two fields (MinLevel, MaxLevel) that contain the highest and
lowest grade that is allowed to take the course. Look closely at how the
table aliases (a and b) are used to join
4.3.0, right?
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g to find sendmail in the default location will
find the Qmail wrapper instead, and will work.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
% different ways of connecting tables with LEFT JOIN. USING( fieldname )
% connects the table being joined, with the table listed right before it,
% using the same fieldname in both. The ON syntax allows you to use
% differently named fields, and/or a different table.
I still don't get what
at the command line for
quite a while now. 4.3.0 is the first version that creates the CLI version
of PHP by default.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 06:32 AM 1/1/03 -0500, David T-G wrote:
I still don't get what a left or right or outer or inner join is...
The reason I chose LEFT JOIN are:
o You get better control over how the query is executed.
o Values from the first table are returned even if there is no associated
entry in the sec
At 05:25 PM 1/2/03 -0800, Jim Lucas wrote:
DocumentRoot /some/path/public_html
php_admin_value engine On
try
php_admin_value php_engine on|off
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
mail server to manage email accounts, and for
webmail, but keep all non-mail related web services off of it. You don't
want all the web developers logging on to the mail server.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at PHP 4 is not like C: passing variables by reference is not
necessarily faster than passing them by value. Indeed, in PHP 4 it is
usually better to pass a variable by value, except if the function
changes the passed value or if a reference is being passed.
Rick
--
PHP Genera
I use PayPal. Does not require a merchant account. PHP payment interface and
interaction is easy
to implement. Via HTML in your webpage, you pass to PayPal the URL of the PHP script
to be executed
when a payment is received.
- Original Message -
From: "Chad Day" <[EMAIL PROTECTED]>
To
You'll never get to the die() statement, because you redirected with the header()
statement.
- Original Message -
From: "Leif K-Brooks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 03, 2003 6:14 PM
Subject: [PHP] Still executing afte die()?
I have a page called 404.
what appeared when you printed the text of your query:
$query = "update bloggers set cache='$blog', title='$title' where url='$address'";
print $query;
I'm thinking that your single quotes preventd $blog, $title, $address form being
expanded.
- Original Message -
From: "Jesse Lawrence"
;jesse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 05, 2003 11:50 AM
Subject: Re: [PHP] Mysql update problems
No, the query is working fine... all variables are printing correctly.
This is what has me confused. Everything seems to be as it should, it's
ju
When you get an error that points to , it means you did not close a {} or ""
In this case, you did not close the: if ($row = mysql_fetch_array($result)) {
Although you did close the "while do {}" immediately thereafter.
- Original Message -
From: "Vincent Bouret" <[EMAIL PROTECTED]>
T
show us your database table structure (the whole thing). the NOW() will always work
with a "date"
or "timestamp" field
- Original Message -
From: "- [ Paul Ferrie ] -" <[EMAIL PROTECTED]>
To: <>
Sent: Monday, January 06, 2003 11:28 AM
Subject: Re: [PHP] time stamp screwing up
Well i am
ted == $Index ) ? ' SELECTED' : '';
echo " $Value\n'
}
echo "\n";
}
Then call lt like this ...
State:
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the problem is the "" before the width word
it should be "\"
- Original Message -
From: "Ezequiel Sapoznik" <[EMAIL PROTECTED]>
To: <>
Sent: Tuesday, January 07, 2003 7:30 PM
Subject: [PHP] Img src
I am having a parse error in the following sentence:
print "";
Thanks!
Ezequiel
-
Is this your exact code? I ask, because the following should generate a parse error:
echo "";
You have 3 double-quotes (").
- Original Message -
From: "James Brennan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 7:29 PM
Subject: [PHP] help - WHILE in FOREA
eone knows how to get a consitent content of $_SERVER? Or where and how
can I configure my system to see the above?
There isn't anything PHP can do about this, all it can do is return what
the server sends. Browsers, firewalls and proxies can all decide to hide
information from you.
Rick
header("location: nextpage.php");
the above must be sent before any other text is output
- Original Message -
From: "Teo Petralia" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 08, 2003 2:46 PM
Subject: [PHP] How can I redirect to another php page
Hi All!
I would
ur machine
never ignores requests.
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1. Store images separately with pointers in the database. It permits faster database
queries.
2.
3. int imagecopyresized ( resource dst_im, resource src_im, int dstX, int dstY, int
srcX, int srcY,
int dstW, int dstH, int srcW, int srcH)
- Original Message -
From: "Anders Thoresson"
"ioctl" is an IO controls structure.
Just look at the fopen("","r"). Do you notice anything missing?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <>
Sent: Sunday, January 12, 2003 3:59 PM
Subject: [PHP] What means "ioctl"
I got the error-message:
Warning: fopen("", "r") - Inappr
so where is $rowe set?
Show us code that calls this page
- Original Message -
From: "menezesd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 6:21 PM
Subject: [PHP] Error in variable when looping
Hello friends,
I have made the following table of data and a bu
1 - 100 of 936 matches
Mail list logo