php-general Digest 13 May 2001 08:37:21 - Issue 683
Topics (messages 52588 through 52614):
Re: Repeat : I'm Living in cookie hell
52588 by: Scott Brown
Re: referencing a constant inside an object
52589 by: Michael Kimsal
Re: Site search engine suggestion.
You might also want to try a freeware opens ource editor I am
developing, called Developers Pad
http://www.developerspad.com/
Regards,
- James
Editor, VB Web
==
Web - http://www.vbweb.co.uk
Email - [EMAIL PROTECTED]
ICQ# - 60612011
==
Using OO usually results in a significant slowdown. Significant doesn't
necessarily mean 50% performance drop; 5% to 20% is not uncommon, and as
you said, YMMV.
We're working on ways to improve the OO performance, but it's pretty
difficult, due to the very dynamic nature of PHP.
Zeev
At
C Benn [EMAIL PROTECTED] wrote:
MY QUESTION: What in PHP acts like the 'server.mappath' function in ASP?
It
gives you the ability to determain the root of the web site and use it as
a
reference.
Is $DOCUMENT_ROOT what you are looking for.
To see a list of the predefined constants, look at
★★ Chyoi Machi Mail ★★
情報提供企業名 : NET-DOCONO
◆◇◆◇◆◇◆◇
http://sv.g-spot.to/docono/
ねぇねぇ聞いてよ
おしゃれでかっこ人がいっぱい
らしい。よかったら、覗いてみて!
きっと、出会いがあるよ。
http://sv.g-spot.to/docono/
I'm trying to insert the conents of a submitted textarea into a field of a
db but it seems to be stripping the control characters or not fomatting them
properly. The record updates fine but when I display it all the newlines are
gone ie the whole field appears on 1 line.
Any ideas how to get it
It should be storing them unless you are doing something to the data before
inserting it into the database. Have you tried outputting the data through
nl2br() ?http://www.php.net/manual/en/function.nl2br.php
Ethan Schroeder
- Original Message -
From: Ciaron Nixon [EMAIL PROTECTED]
To:
In reply to [EMAIL PROTECTED]:
Return-Path: [EMAIL PROTECTED]
Received: from toye.php.net (va.php.net [198.186.203.51])
by cobalt1.intermedia.com.sg (8.10.2/8.10.2) with SMTP id f4DGDXZ25935
for [EMAIL PROTECTED]; Mon, 14 May 2001 00:13:39 +0800
Received: (qmail 12864
Hi All!
Just installed PHP4 Apache.
Apache has started well.
Then I've added two strings from install.txt to the httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
(I've PHP installed in c:\apps\PHP\)
After Apache restart, I've got following
Todd Cary wrote:
In my Index.html, what do I write so that the Surfer goes to my
Start.Php?
Todd
I use a little bit of javascript ...
script language=JavaScript
location = newURL.php;
/script
inside the head/head tags.
--
Raquel
On Sun, May 13, 2001 at 08:55:20PM +0300, Adi Ionescu wrote:
Can someone please help me find the normal distribution function!
I dont know of statistical functions within PHP. But I have asked on the
developers list to make a interface to R. That is a language much more
better for statistical
Hi,
sorry for asking such easy things but I really have a hard time to get this
to work:
I use exactly the scripts which are given on the PHP website to upload
files. The problem is that the variable $userfile just contains none and
$userfile_size is 0. The rest of the variables have the right
Hi,
A snippet of code could help, but I recently experienced two problems with uploading
and gaining the information.
Are you using the correct ENCTYPE for the upload, along with using POST (GET doesn't
work).
Also, if you are trying to us the information from inside a function, I had to
On Sun, May 13, 2001 at 03:08:36PM -0400, Billy Harvey wrote:
On Sun, May 13, 2001 at 08:55:20PM +0300, Adi Ionescu wrote:
Can someone please help me find the normal distribution function!
I dont know of statistical functions within PHP. But I have asked on the
developers list to
The software can be really a freeware (better) or...
can be cracked..., than he becomes free.
regards,
Augusto Cesar Castoldi
On Fri, 11 May 2001, Anuradha Ratnaweera wrote:
On Sat, 5 May 2001, Augusto Cesar Castoldi wrote:
Anyone know a Free database Design program? I'm needing to
i got a 1.21 txt file worth of backup data on my HD.
I need to get it up and running on my new mysql server asap.
2 problems tho
i dont have ftp or telnet access, and two phpMyAdmin always gives me a syntax
error.. this is most likely because HTML is included in the contexs of the
database.
php-general Digest 13 May 2001 20:53:43 - Issue 684
Topics (messages 52615 through 52634):
Re: PHP Editor
52615 by: James Crowley
Re: PHP's OO is bad?
52616 by: Phil Driscoll
52617 by: Zeev Suraski
Re: A question on how to get the root directory
52618 by:
I'm trying to write what I thought would be a pretty simple script
action to pass a variable from a form element without a sumbit button to
subsequent pages; instead of a form button i would like any number of
links to other pages to be able to pass this checkbox value: ie whether
it is
I have a Multiple Selection HTML Field --- the user can select any number of
items by holding down the CTRL key. When I submit my form to my (say)
TestProg.php -- in the Hidden Input Field I only see the value for the
*last* item I selected... how can I see all the items I selected?
Thanks.
What I want to do is figure out a way to index MySQL query results on my PHP
site that's not dependent on the id of each record.
I've got a MySQL photo database that runs my photo site. Right now, the 'id'
field is a sequential, auto-incremented number, and I am using that id as an
index for
I am writing a PHP application that will operate on a MySQL database. There
will be 4 types of forms (like catalog request, info request, etc.) calling
the code which writes the data to the database.
Since the variable names on the forms will equal the MySQL column names (as they
should), I am
Unless you're using PHP3, I'd try using $HTTP_POST_FILES variable as
suggested in http://www.php.net/manual/en/features.file-upload.php.
Chris
--
... perhaps yer just such a man you put an embarasing fire in her loins
- Noah A.
On Sun, 13 May 2001, Matthias Roggendorf wrote:
Hi,
I am not sure about this topic, so my question may refect this lack of
knowledge. I have an application where I send a credit card request to
a credit card processor. They return the information in a POST stream
and I open a socket and read the information into a variable. This
works very
I have a form in which I validate the email address using a php function
then alert the operson if the email address is not correct. However, I would
like to pop up an alert with javascript if the email field is left blank. I
am using the function below but it down't work with php, probably works
do you know of an easy way to change the errors generated by PHP to come
out in WML instead of HTML do they're easier to debug in a WML emulator?
thanks.
todd kennedy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
hello,
i would try this:
SELECT SUBSTRING(field,pos,len) AS mystring, id, blah FROM mytable WHERE
mystring LIKE '%ABC%';
regards,
Nuno Silva
andreas (@work) wrote:
hi,
if i use SUBSTRING(field,pos,len) in a SELECT statement it works fine
but i cant work it out how to use this
What is the particular error you're getting?
Chris Mason [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a form in which I validate the email address using a php function
then alert the operson if the email address is not correct. However, I
would
like
Tom,
I can't be sure, since I'm not too knowledgeable with this, but I would
think this would work just fine. The search engine should be seeing the URL
just as the user would. Further, a site I know does a similar trick (though
I'm not sure they use mod_rewrite) where /users/username is
Hi all - just wondering if anyone knows of a function like fputcsv - that
is, writes a line to a csv file - opposite of fgetcsv.
Any help would be appreciated :-)
swadie
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney
Hi all - just wondering if anyone knows of a function like
fputcsv - that is, writes a line to a csv file - opposite of fgetcsv.
A CSV file is just a text file with a different file extension,
so you can use fgets to write it out...
Jason
--
PHP General Mailing List (http://www.php.net/)
Hmm - seems clear to me that PHP *is* some form of drug - judging by the way
it seems to affect some people's lives... *grin*
~~~
Steve Wade
Youth Outreach Coordinator
Fusion Australia Ltd (Sydney North)
ABN 26 001 273 105
+61 2 9477 1110
Yes, when I first started using php nearly 2 years ago not
many people even knew what it was (most thought it was some form of
a drug). Now days you are hard pressed not to at least come across one
site using it during a normal web browsing session.
At this point, I'll throw in that
Has anybody ever written some code for a product and want it to be able to
update itself... and made it look for updates? Does anybody have some ideas
or information on this?
Thanks
Scott.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Should be actually hard...
Write Update.php file that connects to your web-site and reads your
version-information file and then read version information site from the
hoster site and check if you have a new version, if so then the update.php
will again query the version-info file and get new
34 matches
Mail list logo