try sending us the sample code. I use netscape 4 for testing and it seems to
work just fine.
--
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 PROTECT
On my login page (index.php) I have at the top
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]
Remember: There are no stupid questions. Only stupid people.
...*couldn't resist*
;)
--
Plutarck
Should be working on something...
...but forgot what it was.
""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message
002b01c0c528$7ea85a60$0d1012d1@null">news:002b01c0c528$7ea85a60$0d1012d1@null
Adam wrote:
> try sending us the sample code. I use netscape 4 for testing and it seems
> to work just fine.
My whole project is based on inserting pieces of html. Works like a dream
in Netscape 4.75 Linux.
M.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL P
The I "now" get a date from MySQL (hehe) is to use UNIX_TIMESTAMP then feed
it over to date.
That way if I want to change the way the date is displayed, I don't have to
touch my query syntax. And I personally find it easier to use PHP's date()
function rather than MySQL's.
--
Plutarck
Should be
>I've created a test.php file that dynamically loads HTML.. works totally
>fine in IE 5, but when I test it with Netscape 4.77 -- nothing comes up...
>just a totally blank page.
>
>Anyone know why this might be happening?
Yes. You made one or more mistakes in the HTML code you're sending to the
> -Original Message-
> From: Plutarck [SMTP:[EMAIL PROTECTED]]
> Sent: Sunday, April 15, 2001 4:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Sorry :(
>
> Remember: There are no stupid questions. Only stupid people.
>
>
> ...*couldn't resist*
>
> ;)
>
>
> --
> Plutarck
Do you use tables?
If so, check all , , and tags have a closing tag to go
with them
-Original Message-
From: Jason Caldwell <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 15 April 2001 06:55
Subject: [PHP] Netscape 4.77 and PHP
>I've created a test.php file that
hahaha
""Plutarck"" <[EMAIL PROTECTED]> wrote in message
9bbq7u$9vr$[EMAIL PROTECTED]">news:9bbq7u$9vr$[EMAIL PROTECTED]...
> Remember: There are no stupid questions. Only stupid people.
>
>
> ...*couldn't resist*
>
> ;)
>
>
> --
> Plutarck
> Should be working on something...
> ...but forgot w
There is PHP.TEST if you would like to test your posts
"Effendi Mahfud" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> > -Original Message-
> > From: Plutarck [SMTP:[EMAIL PROTECTED]]
> > Sent: Sunday, April 15, 2001 4:38 PM
> > To: [EMAIL PROTECT
Greetings.
I have no problem writing an email client in PHP, which sends emails and
such things. One thing only, can I check someones POP3, such as mine,
through PHP? If so, what should be needed to complete it..? The server I am
using is running Linux FreeBSd (I think..) with the options for
You can use PHP for many purposes.
You can use PHP
- General scripting language. (Use GCI binary with -q option. You may need
other setting to meet your purpose)
- GUI Application development (USE PHP-GTK)
Refer to following link for PHP-GTK
http://gtk.php.net/
There is compiler (I don'
XML, IMHO, can best be regarded as a layer between the real data and the
application.
We used to make up new formats for allmost every type of data exchange.
Every type had its own format, its own parser, and because of that the
same mistakes were made over and over again. Some formats weren't
ex
This is almost always an html problem, not a php one.
If a table tag or something isn't closed properly netscape will show a blank
screen. IE is more (too) forgiving and assumes it knows where you meant to
put the tag.
Check your html and you'll fix it.
Matt Friedman
Spry New Media
http://www.s
Richard wrote:
> Greetings.
>
> I have no problem writing an email client in PHP, which sends emails
> and
> such things. One thing only, can I check someones POP3, such as mine,
> through PHP? If so, what should be needed to complete it..? The server I
> am using is running Linux FreeBS
Check out PHPost: http://webgadgets.com/
It doesn't use IMAP, so you can probably learn quite a bit how POP3 mail can
be handled.
One of these days I'm going to actually figure it out myself...
--
Plutarck
Should be working on something...
...but forgot what it was.
""Richard"" <[EMAIL PROTE
Jason,
Netscape is really fussy about closing tags. Have you checked to make
certain you don't have a table open?
Try capturing the source of the page and running it through tidy.
(Available at http://www.w3.org/People/Raggett/tidy/ )
Miles
At 10:55 PM 4/14/01 -0700, Jason Caldwell wrote:
>I
Just a test
--
george
chiefmonkey@wisemonkeydesign.co.uk
remove my_pants to reply
--
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]
What is the function to search a string? Basically, I want search a string
(a url) to see if it has "www.yahoo.com" in it and if yes, tell the user
their submission cannot be accepted.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Thanks alot, seems to work allright.
- Richard
"Martin Skjöldebrand" <[EMAIL PROTECTED]> wrote in message
9bc8bf$5kb$[EMAIL PROTECTED]">news:9bc8bf$5kb$[EMAIL PROTECTED]...
> Richard wrote:
>
> > Greetings.
> >
> > I have no problem writing an email client in PHP, which sends emails
> >
Hello everybody,
I just finished reading a message from the server root and I have been told that
the server I have to work with by our current project doesn't support GD and
they can't install it neither.
We will, however, need to create thumbnails from larger images (JPEG). Are there
any other
Is there a php3 alternative to the getcwd() function
kenny
--
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]
php-general Digest 15 Apr 2001 18:00:22 - Issue 629
Topics (messages 48619 through 48642):
Re: next release?
48619 by: Plutarck
Netscape 4.77 and PHP
48620 by: Jason Caldwell
48621 by: Adam
48624 by: Martin Skjöldebrand
48626 by: B. van Ouwerkerk
What to I need to do/configure in order for PHP 4 to be able to connect to
Access and/or SQL Server databases?
--Bob
--
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 administrator
sasha Sun Apr 15 11:42:51 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
We shoud not fseek in a pipe and this caused a problem with popen and
fgets on the platforms where the buffer fix was applied (Solaris, FreeBSD).
Now the fseek is done only wh
sasha Sun Apr 15 12:03:13 2001 EDT
Modified files:
/php4/ext/standard file.c
Log:
Fixed typo.
Index: php4/ext/standard/file.c
diff -u php4/ext/standard/file.c:1.151 php4/ext/standard/file.c:1.152
--- php4/ext/standard/file.c:1.151 Sun Apr 15 11:42:50
Hello Chris,
On 14-Apr-01 16:07:59, you wrote:
>Alright I'll start this out by saying I have a subscription to "Visual Basic
>Programmers Journal". Before I converted and realized that I loved PHP so
>much I used ASP. Well it seems that in this magazine that XML is a hot topic
>in the MS world.
Hello Plutarck,
On 14-Apr-01 17:07:42, you wrote:
>I use to be really enthusiastically pro-XML just as I was getting into PHP,
>but now I've basically taken a "XML shmexXML" approach. I get the initial
>attraction, but I would think the love would fade off a bit.
>The key that so many people se
Hello Jeff,
On 14-Apr-01 21:50:21, you wrote:
>Hi All,
>My apologies if this is too wordy.
>This is driving me nuts. I have very little experience or knowledge of PHP
>and MySQL but have been put in a position that requires me to build several
>applications that require me to figure them out.
hi everyone,
i have been using perl for quite some time, but after getting used to
php4, i think it rocks.
i am wondering which is better, performance-wise, when trying to match the
same text: PCRE or POSIX extended in php4?
cheers,
Bill
--
PHP General Mailing List (http://www.php.net/)
To
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (bill) wrote:
> i have been using perl for quite some time, but after getting used to
> php4, i think it rocks.
>
> i am wondering which is better, performance-wise, when trying to match the
> same text: PCRE or POSIX extended in php4?
PCRE.
-
Hello everyone,
I know this has been discussed many times before. I even read the past
threads in the list archives. I've written a shopping cart/catalog that
uses mysql on the backend. I need to be able to accept cc orders. Is
Paypal a good choice? I've never really use any service like thi
I have a little mysql question. I'm using php to list a table from mysql.
I'm doing: $result=mysql_query("select * from messagem where flag=1 order
by
date");
But The first list of the "mysql_fetch_row($result)" is the first date. I
want to start printing by the last date.
But I want to know
I've only been trying to learn this stuff for a few days and thought I was
on a roll, but now have run into a problem I don't get at all. In my script
I have the following sql query and am receiving the following error when it
executes "You have an error in your SQL syntax near '' at line 1."
An
What do you have in the id variable?
It's contents can be the problem.
regards,
Augusto Cesar Castoldi
On Sun, 15 Apr 2001, Scott VanCaster wrote:
> I've only been trying to learn this stuff for a few days and thought I was
> on a roll, but now have run into a problem I don't get at all. In
On Sun, Apr 15, 2001 at 04:20:07PM -0500, Scott VanCaster wrote:
> Any idea what my problem is? I removed the WHERE id=$id and it works, but
> updates every record of course :(
Have you tried putting the $id in quotes too?
| WHERE = '$id'
if that doesn't help, print the sql-statement to STDO
id is the primary key for the table. If I add echo ($id); before the query
it echos a 15, which is correct. Well, it's the right id for the test
person I'm logged into the site as anyway. I'm missing something here :)
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> wrote in message
Pine.A41.4.32
I "think" I tried that. Let me go try that again to be sure.
Oh, and what's STDOUT ? I'm just getting started here and haven't even seen
that yet :)
I can't believe how fast the responses are either. Thanks to all for
helping others out so quickly :)
"Felix Kronlage" <[EMAIL PROTECTED]> wrot
I changed $id to '$id'
No more error, but nothing updates. Assuming it's because with the single
quotes nothing in the table matches?
"Felix Kronlage" <[EMAIL PROTECTED]> wrote in message
20010415232649.A11407@mad">news:20010415232649.A11407@mad...
> On Sun, Apr 15, 2001 at 04:20:07PM -0500, Sc
Well, I added the echo($id); back in and am just getting $id printed, so it
looks like I have another problem :(
Now to see if I can find it and figure it out.
""Scott VanCaster"" <[EMAIL PROTECTED]> wrote in message
9bd3pv$qbd$[EMAIL PROTECTED]">news:9bd3pv$qbd$[EMAIL PROTECTED]...
> id is the
Nevermind everyone, I'm an idiot :)
I had the case wrong. I needed $ID, not $id !
Thanks for the assistance though. Nice to know ya'll are here.
Scott
""Scott VanCaster"" <[EMAIL PROTECTED]> wrote in message
9bd394$ikn$[EMAIL PROTECTED]">news:9bd394$ikn$[EMAIL PROTECTED]...
> I've only
scott,
try the entire SQL statement without single quotes around those variables.
except for when your setting the WHERE part. Try:
$sql ="UPDATE members SET ".
"name=$name, ".
"email=$email, ".
"icq=$icq, ".
"password=$password, ".
"loginid=$loginid, ".
"countryid=$countryid, ".
"
NEVERMIND! :)
-Original Message-
From: Scott VanCaster [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 15, 2001 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] SQL Query syntax error... Help?
Nevermind everyone, I'm an idiot :)
I had the case wrong. I needed $ID, not $id !
Tha
WOW !
Thanks everyone... great responses :-)
I will look at my tables... no doubt I goofed somewhere.
Jason
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9bbd0v$686$[EMAIL PROTECTED]">news:9bbd0v$686$[EMAIL PROTECTED]...
> I've created a test.php file that dynamically loads HTML.. w
You can sort in descending order in your sql statement
select * from messagem where flag-1 order by date desc
Seung-woo Nam
Augusto Cesar Castoldi wrote:
>
> I have a little mysql question. I'm using php to list a table from mysql.
>
> I'm doing: $result=mysql_query("select * from messagem w
I know how to unset a specific value in an ordinary array:
unset ($array["one"]);
How do I do this if my array is in a session?
Here is my code:
"number one", two=> "Number two", three=> "Number
three");
session_register("array");
?>
I tried this... Didn't work:
Thanks,
// Tobias Talltorp
On 15-Apr-01 kenny.hibs wrote:
> Is there a php3 alternative to the getcwd() function
>
try:
$cwd=`pwd`;
-- or --
$cwd=`/bin/pwd`;
Regards,
--
Don Read [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to
steal the neighbo
I don´t have any experience in this area either, but I found this article on
Php-bilder.com. It might be useful for you:
http://www.phpbuilder.com/columns/matt2305.php3
(Curl is a part of PHP now... http://www.php.net/manual/en/ref.curl.php)
You might find these sections in the manual rewardi
Hey all, can someone make a recommendation here?
I want to keep site structural info pulled from a database in an array, and
store it in a flat file that can eliminate the database hit.
Then I'll just delete the file when structure changes, and regenerate it
with a call to a recreation script t
You can use ODBC as well.
Compile PHP with iODBC (http://www.iodbc.org) and you can use an ODBC driver
instead of the oci - this can bypass the Oracle client install in many
cases.
Best regards,
Andrew
Andrew Hill . Director Technology Evangelism
OpenL
Hi,
I got Data from my Database,
but how can I show them in a textfiled within a html form?
Any ideas?
Thanks in advance.
--
Best Regards
Denis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
Hi Joseph,
@ 12:08:46 PM on 4/15/2001, Joseph Bannon wrote:
> What is the function to search a string? Basically, I want search a string
> (a url) to see if it has "www.yahoo.com" in it and if yes, tell the user
> their submission cannot be accepted.
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Hi George,
@ 7:19:12 PM on 4/15/2001, george wrote:
...
> User-Agent: MT-NewsWatcher/3.1 (PPC)
> Subject: [PHP] test
> Just a test
Use news://alt.test next time, please.
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Please, DO NOT carbon copy me on list replies.
--
PHP General Mailing List (
Hi Fabian,
@ 11:47:22 PM on 4/14/2001, Fabian Fabela wrote:
...
> I have a page with a lot of data, all of this data is formated in
> that page to be printed, in a table with 500 px width, but how can I
> messure the length of the page with my results, for example a query
> can give me exactly t
Hi Lauri,
@ 11:55:51 AM on 4/15/2001, Lauri Vain wrote:
...
> I just finished reading a message from the server root and I have
> been told that the server I have to work with by our current project
> doesn't support GD and they can't install it neither.
> We will, however, need to create thumb
Hi jaxon,
@ 7:32:10 PM on 4/15/2001, jaxon wrote:
...
> I want to keep site structural info pulled from a database in an
> array, and store it in a flat file that can eliminate the database
> hit.
Then you'll be hitting the disk too (really, either way), but I doubt
that's going to speed it up
Hi Bob,
@ 2:40:21 PM on 4/15/2001, Bob Clingan wrote:
> What to I need to do/configure in order for PHP 4 to be able to
> connect to Access and/or SQL Server databases?
http://www.php.net/manual/en/install.configure.php#install.configure.databases
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Ple
Hi Tobias,
@ 7:01:41 PM on 4/15/2001, Tobias Talltorp wrote:
...
> I tried this... Didn't work:
> session_start();
> session_unregister("array[one]");
?>>
Why not save the values to a temp variable, destroy the session, unset
the value you want to unset, then register it again?
-Brian
--
PGP
Hi Denis,
@ 8:13:41 PM on 4/15/2001, Denis Mettler wrote:
> I got Data from my Database, but how can I show them in a textfiled
> within a html form? Any ideas?
Show us some code?
Assuming you've gotten the data into a $row->column, just echo it
into the value of one of the form fields:
-B
Locally on a Win32 box, use the odbc functions built in, with a local DSN.
On Unix, compile php with iodbc (http://www.iodbc.org) and use an ODBC
driver to connect to the SQLServer or Access db on the Win32 box.
You can use OpenLink's drivers if you like -
For SQLServer:
- install Multi-Tie
sas Sun Apr 15 17:24:14 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Add support for banlists
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.57 php4/ext/ircg/ircg.c:1.58
--- php4/ext/ircg/ircg.c:1.57 Sat Apr 14 11:49:04 2001
+++
@ 8:12:51 PM on 4/15/2001, Brian Clark wrote:
...
> http://www.php.net/manual/it/language.variables.scope.php
Oops. replace 'it' with 'en'
-Brian
--
PGP is spoken here: 0xE4D0C7C8
Please, DO NOT carbon copy me on list replies.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
You are registered $array as session,
You need to unset() element. I think it should work.
Regards,
--
Yasuo Ohgaki
""Tobias Talltorp"" <[EMAIL PROTECTED]> wrote in message
9bd8un$kqt$[EMAIL PROTECTED]">news:9bd8un$kqt$[EMAIL PROTECTED]...
> I know how to unset a specific value in an ordinary ar
@ 8:18:31 PM on 4/15/2001, Brian Clark wrote:
...
> Why not save the values to a temp variable, destroy the session,
> unset the value you want to unset, then register it again?
Well I take that back. Read the first two comments here:
http://www.php.net/manual/en/function.session-unset.php
By
The info pulled from a Database (Mysql) is already stored in an array, then
you can move the pointer back and forward when you need it. You can send it
to the first "record" and re read it several times...
withmysql_data_seek ($result, 0); goes to the first record again.
JuanCaBo
-
Hi all,
Thanks for the feedback and based on what I read, I will be keeping the sites up for
at least a few more months. I would like to see decent use of the site so tell people
about them. That will be my determinining factor when I rethink the sites in June or
July. They are free and do
I think you want regular expressions...
Try this on for size:
$str = "http://www.yahoo.com/somedir/somepage.html";
if (preg_match("/www.yahoo.com/i", $str)) {
print "Your submission cannot be accepted";
} else {
print "You are good";
}
If you want to read up on regular expressions:
http://www
Even better, try strstr...it'll be faster than a regexp for a simple
search of a string for another string.
-jack
- Original Message -
From: "Tobias Talltorp" <[EMAIL PROTECTED]>
Date: Sunday, April 15, 2001 7:20 pm
Subject: Re: [PHP] search string
> I think you want regular expression
Hi Tobias,
@ 7:20:00 PM on 4/15/2001, Tobias Talltorp wrote:
> I think you want regular expressions...
> Try this on for size:
> $str = "http://www.yahoo.com/somedir/somepage.html";
> if (preg_match("/www.yahoo.com/i", $str)) {
> print "Your submission cannot be accepted";
> } else {
> print
i wrote one a few months back, and use it as a diary. the enhanced
one out for release soon will look more like the slashdot system, but
much easier.
http://www.wde.org/php/
/sunny
--- Chris Anderson <[EMAIL PROTECTED]> wrote: > I prefer to
write my own
> - Original Message -
> From: "Ze
Hi all,
I got two small questions. I'm trying to make an events calendar for
my site, in which I want people to input in future dates, and then
have the database display events by date.
NOw they will probably be given a form which allows them to choose,
and then gets inputted into the datase as
Hi all,
I am just entering into PHP world. First what I did is, I signed for PHP
mailing list.
I want to buy a good PHP book for my initial start and may be later on as a
reference. I know there are lot in the market. Can anybody suggest a good
book among them ?
manisha
--
PHP General Mai
Professional PHP Programming:
http://www.amazon.com/exec/obidos/ASIN/1861002963/qid=987388364/sr=1-12/ref=
sc_b_13/002-2263539-0333643
PHP Fast & Easy Web Development:
http://www.amazon.com/exec/obidos/ASIN/076153055X/qid=987388364/sr=1-9/ref=s
c_b_10/002-2263539-0333643
I started with these boo
Hi,
All you need is to insert the data into the database as
MMDD
and then pull it out reformatting it with mySQL functions:
SELECT
DATE_FORMAT(date, "%W, %e %M %Y") AS date
FROM
table
;
this will return you the date in "Monday, 20 A
Hi Sandeep,
@ 10:33:16 PM on 4/15/2001, Sandeep Hundal wrote:
...
> NOw they will probably be given a form which allows them to choose,
> and then gets inputted into the datase as a number : MMDD. But I
> want to display the data as "Monday, 20 April 2001. How can I do
> this?
Yes, with str
)
...
>if(!$formatted = @date($format, strtotime($string)))
> return 'Unable to understand decipher date string.';
>return $formatted;
> }
> /* Sunday, April 15 20001 */
> print decipherDate('20010415',"l, j F Y");
> print &qu
Whether these books cover PHP 4 also ?
manisha
At 10:54 PM 4/15/01 -0400, Kath wrote:
>Professional PHP Programming:
>http://www.amazon.com/exec/obidos/ASIN/1861002963/qid=987388364/sr=1-12/ref=
>sc_b_13/002-2263539-0333643
>
>PHP Fast & Easy Web Development:
>http://www.amazon.com/exec/obidos/A
Hi Kath,
@ 10:54:03 PM on 4/15/2001, Kath wrote:
> Professional PHP Programming:
...
> PHP Fast & Easy Web Development:
...
> I started with these books and STILL refer to them today.
A good one to add to your collection would be
_PHP Developer's Cookbook_ ISBN: 0672319241
Though it's not so
Hi,
I have a couple questions... first, is there a notable MySQL General List
like this one?
Second, how do you write this query properly, or can it be done?
select concat(date_format(date, "%W, %e %M %Y")," ",time) as date from TABLE
order by date DESC;
Thanks!
Jeff
--
PHP General Mailing
Hi Manisha
I use and recommend Beginning PHP 4, published by WROX and PHP Developer's
Cookbook, published by SAMS. I started with the Beginning PHP 4 book, the
PHP Manual, this list and phpbuilder.com. That was all I needed to get a
good introduction and grounding into PHP programming. The PHP De
Yes, they do.
- Kath
- Original Message -
From: "Manisha" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 15, 2001 11:11 PM
Subject: Re: [PHP] Want a Good Book for Ref on PHP
> Whether these books cover PHP 4 also ?
>
> manisha
>
> At 10:54 PM 4/15/01 -0400, Kath wrote:
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Jeff Holzfaster") wrote:
> I have a couple questions... first, is there a notable MySQL General List
> like this one?
Yes. The list on mysql.com is quite active and, like this one, it's common
to get responses directly from one of the develo
I use PHP 4.04p11 on Apache.
But my upload.php can't work...
f1 is the name of file-upload-variable
Upload successfully";
$fname=substring (strrchr($f1_name,"\"),1);
}
unlink ($f1);
?>
The browser returns
Parse error: parse error in c:/inetpub/php_root/upload.php on line 8
Can anyone
> The MySQL manual has a chapter on date/time factions. Or is it
> the 'order
> by' clause that's giving you trouble...? I assume that 'date' is a
> reserved word, so it may be confusing mysql. In which case, try using a
> different alias, like 'f_date".
This works: select date_format(dat
try
Upload successfully";
$fname=substring (strrchr($f1_name,"\\"),1);
}
unlink ($f1);
?>
also the substring() function does not exist until unless you have written
it yourself for the code. The standard function is substr().
hope that helps
regards
Ankur Verma
New Delhi
India
-Origin
that was it
i was missing the closing
thanks
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9bbd0v$686$[EMAIL PROTECTED]">news:9bbd0v$686$[EMAIL PROTECTED]...
> I've created a test.php file that dynamically loads HTML.. works totally
> fine in IE 5, but when I test it with Netsca
andrei Sun Apr 15 21:56:31 2001 EDT
Modified files:
/php4/ext/pcre php_pcre.c
Log:
@- Fixed a bug with /e modifier in preg_replace(), that would not correctly
@ replace two-digit references if single digit references were present
@ before them. This fi
This function suddenly stopped working, and I just can't seem to figure out
why. The only change made recently is that now the value of $force at
calltime is sometimes true instead of being undefined or null.
build_file("file_content","/path/to/file.inc","w",TRUE);
function build_file($func
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Jeff Holzfaster") wrote:
> This works: select date_format(date, "%W, %e %M %Y") as date from table
> This doesn't: select concat(date_format(date, "%W, %e %M %Y")," ",time) as
> time_of_day
>
> I'm wondering if it is possible to use concat i
Kath wrote:
> Professional PHP Programming:
>
http://www.amazon.com/exec/obidos/ASIN/1861002963/qid=987388364/sr=1-12/ref=
> sc_b_13/002-2263539-0333643
I've got Beginning PHP 4 (recommended) on the back cover of which it says
that the next book could be "Professional PHP Programming.".
Howeve
In the future, to make things easier on yourself, when you get a query
syntax error add an "echo $sql;" line right before your query.
Almost every time I have a query problem, that solves it.
--
Plutarck
Should be working on something...
...but forgot what it was.
""Scott VanCaster"" <[EMAIL
php-general Digest 16 Apr 2001 06:07:44 - Issue 630
Topics (messages 48643 through 48707):
Access/SQL Server?
48643 by: Bob Clingan
48674 by: Brian Clark
48677 by: Andrew Hill
Re: What's XML's Purpose??
48644 by: Manuel Lemos
48645 by: Manuel Lemos
What is this:
!filesize($filepath)
Add this above your if loop:
$filesize = filesize($filepath);
echo $filesize;
That might be causing your loop not to execute...if not, I'm not sure what's
wrong.
--
Plutarck
Should be working on something...
...but forgot what it was.
"CC Zona" <[EMAIL P
Personally, I never even bought a PHP book. I learned from the web
only...hehe.
First, go to zend.com and check out their tutorial and article sections.
Then check out their links section, which just so happens to have links to
17 books, 10 of which are non-english.
Check out phpbuilder.com, dev
On Mon, Apr 16, 2001 at 01:23:46AM -0500, Plutarck wrote:
> First, go to zend.com and check out their tutorial and article sections.
> Then check out their links section, which just so happens to have links to
> 17 books, 10 of which are non-english.
Why don't you visit php.net/books.php? There
I have that message (at the end of this message) which has recursive
parts. First part is a message itself and second is an attachment.
Message part is divided into two parts (text/plain and text/html). Is
there any way I can fetch only text/html that is part[0]->part[1] to
$body variable with
96 matches
Mail list logo