Frank,
Don't forget not to use C++ comments.
Thanks,
Andi
At 06:01 PM 4/25/2001 +, Frank M. Kromann wrote:
fmk Wed Apr 25 11:01:23 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
make fbsql_field_flags return a value
Index:
Hiya all.
I'm trying to use the Pay flow pro (--with-pfpro) extension on PHP4.0.4pl1
on Redhat 6.2 glibc2.1.
There seems to be a problem with the pfpro 3.0 SDK not being compatible with
PHP's header and .c files for pfpro. Are anyone aware of somewhere I can get
the 2.11 pfpro SDK (which should
At 4/25/2001 09:02 PM, Reuben D Budiardja wrote:
The only thing that I feel lack of in PHP is the real Object
Oriented stuff, such as information hiding in the object in
classes i.e. private and public variables, methods/functions.
This in a sene make it really difficult for developer to
Hello,
Somebody know how to make IMLIB library compile into php ?
i tried --with, --enable, but doesn't work !
Thanks.
--
Charles
--
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
I'm doing a seach function... everything is okbut i wanna put something
like Use more specific terms when the search don't have anything to
show. but i can't do that can someone helpme?
i'm doing that!
=
$query = mysql_query(select * from
Hi Sandeep,
The br tag looks like this in wml: br/
Have you escaped the doublequotes correctly in your double quoted echo 's?
Make sure that the database doesn't contain ampersands, or dollar signs, or
some of the foreign lettering (like é), as they are illegal characters in
wml (well, the
Wow, that was quick, Dan :)
Yeah, I'm having apache compile-time problems that stops on PNVersion() when
reading some PHP include/c file I can't remember the name of right now :)
Where did you edit it out? In the pfpro SDK files themselves, or in PHP's
header files?
Regards,
Henning
I would not edit the files themselves as it causes server instabilities.
This is what I did and found that it did indeed work, for awhile, crashing
miserably. Something like this is far from the production ready ecommerce
system that I would desire for my company. We moved to the beta SDK until
How can I force dir.php to execute on http://www.mysite.com/dir/ and all
other subdirectories, which actually doesnt exists? I tray to put ForceType
in .htaccess file, and this doesnt work.
This is an example what I mean:
http://www.mysite.com/dir/
http://www.mysite.com/dir/subdir/
Hi all,
I have seen a few pages that echo the time it's taken to execute an SQL
query, like The results in the database were returned in 0.3 seconds.
Anyone know if there's a built in function to display this, and if there is,
what it is? My more-than-useless-ISP seems to have taken an aversion
Hello there,
I have gotten the 3.0 SDK to work, all I had to do was edit out the version
function
and it compiled just fine.
Verisign was of ABSOLUTELY NO HELP in this matter. They simply said we don't
support PHP at all and left me to flounder. So I edited the source and got it
working after
Name it dir instead of dir.php, do the .htaccess to process dir
as php, then read $PATH_INFO to get the /subdir... stuff.
I may have a few details wrong, but that's the idea. I have the same
situation as you.
Hope this helps.
Mihailo Dzigurski wrote:
How can I force dir.php to execute on
Well, I didn't comment out the function itself, just the PNVersion() calls
inside the function, meaning that it will just turn out empty if you use the
PHP function that shows you pfpro's version :)
(I hope)
Oh, and btw, Dan, it seems to work fine :)
Regards,
henning
-Original
Lookup the mysql_numrows function (think that's the correct spelling, I'm
using Oracle now ;-) - and go from there. Put in an
if ($count=mysql_numrows($query)) {
// put whatever message/form/whatever you want to show the user
here
}
for example, and put that directly
Basically I am just trolling for some thoughts on how others may
accomplish this task.
I have a mysql database. In the database I of course have records.
These records have a date field and after so many days I have a script
to delete old records. Now, there are often times when
Hi,
My problem is that my local apache 1.3.19 server running under windows 2000
on a LAN has slow execution issues. When I submit a form with POST
variables, the script takes forever and a day to execute, sometimes
returning after 15 seconds, sometimes hitting a max execution time. This
On Mié 25 Abr 2001 23:17, James, Yz wrote:
Hi all,
I have seen a few pages that echo the time it's taken to execute an SQL
query, like The results in the database were returned in 0.3 seconds.
Anyone know if there's a built in function to display this, and if there
is, what it is? My
Actually I kind of made the problem go away, but I don't know why...
I reduced the priority of the netscape process to Below Normal and it works
fine. Why would netscape take up so much of the cpu?
Larry
Laurence Gordon [EMAIL PROTECTED] wrote in message
9c7b2h$qcp$[EMAIL
Dan and others, following this thread;
Here is the result of my pfpro_version() call :
Yup, that's right. Blank, stare, squiddly-squat, etc. Which is what I
intended.
However, here is the result of the test script for the function provided in
the PHP4.0.4 manual, script is here:
?php
fmk Wed Apr 25 12:45:14 2001 EDT
Modified files:
/php4/ext/fbsql php_fbsql.c
Log:
Remove c++ comment
Move errormessage when FBExec is not running. This error should not show if we
connect through a port number.
Index: php4/ext/fbsql/php_fbsql.c
diff
http://www.php.net/bugs.php?id=9530
John
On Wed, 25 Apr 2001, Henning Kilset Pedersen wrote:
Dan and others, following this thread;
Here is the result of my pfpro_version() call :
Yup, that's right. Blank, stare, squiddly-squat, etc. Which is what I
intended.
However, here is the
that should ofcourse be if(!$count=mysql_numrows($query)) {...
(put a ! directly infront of $count
-Original Message-
From: Henning Kilset Pedersen [mailto:[EMAIL PROTECTED]]
Sent: 25. april 2001 21:42
To: 'Rafael Faria'; [EMAIL PROTECTED]
Subject: RE: [PHP] Count
Lookup the
Greetings!
Here's my problem:
I have a web-based application from which it is possible to log off.
The user is authenticated through a .htpasswd file and then he access the
system. After that a button is displayed that can log off the user. If he
clicks on this, the application does the
Congratulations,
So you've overcome the PNVersion demons, now to others.
What you need to do now is to locate the f73e89fd.0 file found in the PFPro
library and make sure it is present in your OpenSSL or other SSL certs
directory.
It should be in the same directory as your server cert(s). That
I am trying to implement transactions using PHP and MSSQL 7 (Microsoft). Please tell
me if there is a simple way of doing this, as there is for Interbase or Oracle, using
the appropriate functions.eg ***_rollback or whatever.
Regards
Andrew
Is anybody reading the other posts about the work in progress being done by
John? This extra work seems pointless if it is being looked into by the PHP
development team.
Sincerely,
Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Hello,
I have seen your email at PHP site - developers.
I need a simple syntax that you may understand.
I want to send data TO mysql FROM my contact form.
the database is hosted and provided by my hosting provider.
I do not know what is the syntax to send that data.
I make
Has anyone any ideas/recomendations/pointers on how to send secure mail
through PHP?? Reason is that I may soon want to collect CC info through a
SSL secured page, and then email it off to me.
I have a linux server, PHP4.0.4pl1, and PGP2.6.2 at my disposal...
My theory is that I'd call PGP
To send any information you need to use the mysql_query() function after
connecting with mysql_connect() or mysql_pconnect(). They are all documented
in the manual. Or am I misreading your question??
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April
you just have to execute a statement starting and ending the transaction.
BEGIN TRANSACTION
COMMIT
ROLLBACK
Yuu send thes commands to the server with mssql_query() as any other SQL statement.
- Frank
I am trying to implement transactions using PHP and MSSQL 7 (Microsoft). Please
tell me
andrei Wed Apr 25 13:14:29 2001 EDT
Modified files:
/php4/ext/standard html.c html.h
/php4/ext/wddx php_wddx_api.h wddx.c
Log:
* Made ENT_* defines availabe to other functions.
* The key/variable names in WDDX are now html escaped to not break
I'm trying pass an array from one page to another.
Page 1 is a form.
Page 2 has the data sent by Page 1 available in $HTTP_POST_VARS.
This is where I'm stuck: Page three needs access to those same variables
in $HTTP_POST_VARS.
Any help?
--
PHP General Mailing List (http://www.php.net/)
To
I am aware that people are working on it but when I needed to process
transactions
_today_, I decided to do some messing around with the code. Time waits for no
man, even the
development team :-)
Thanks
Dan
-Original Message-
From: Robert Covell [mailto:[EMAIL PROTECTED]]
Sent:
If anyone has worked around the deficiencies, great; I just haven't received a
v3 SDK yet (and my company's account has not yet been converted) so I can't
speak intelligently about what may be missing from the extension.
As far as I know, the interface remains untouched, which means the work
hholzgraWed Apr 25 14:01:49 2001 EDT
Added files:
/php4/ext/rtfm/tests001.phpt
Log:
guess what ... :)
cvs: --
Index: php4/ext/rtfm/tests/001.phpt
+++
I'm trying to create a multiple pattern search using LIKE (in mySQL) -- the
following doesn't seem to work and was wondering if someone knew of an easy
efficient way of adding multiple search criteria.
SELECT myTable.col
FROM myTable, otherTable
WHERE myTable.id = otherTable.ID
AND
John Donagher wrote:
If anyone has worked around the deficiencies, great; I just haven't received a
v3 SDK yet (and my company's account has not yet been converted) so I can't
speak intelligently about what may be missing from the extension.
As far as I know, the interface remains
Hello
I update my server from php 3.016 to php 4.0.4pl1 and it's work
partially, because some of file called php3 that work perfect in php
3.0.16 now dont'w show anything, How can I solve this problem? Any Ideas?
Thanks
--
Mauricio Alarcon Rincon
Webmaster - Webdepot
Linux Registered User #
Why not do something like:
SELECT myTable.col
FROM myTable, otherTable
WHERE myTable.id = otherTable.ID
AND (otherTable.data LIKE a.% OR otherTable.data LIKE s.% OR
otherTable.data = io.bean)
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original
In httpd.conf modify/adjust a line in similar fashion to :
AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp
regards,
philip
On Wed, 25 Apr 2001, Mauricio Alarcon wrote:
Hello
I update my server from php 3.016 to php 4.0.4pl1 and it's work
partially, because some of
Sup,
Adding explain before the select query will show you how long it will
take, along with some other info, but it won't actually give you the
results.
I use a the function microtime (http://php.net/microtime) to figure
execution time. When called, microtime will return a string with
On Wed, Apr 25, 2001 at 03:34:18PM -0400, Charles wrote:
Hello,
Somebody know how to make IMLIB library compile into php ?
i tried --with, --enable, but doesn't work !
Check to see that it actually got added to the source properly with:
./configure --help|grep imlib
If it isn't there,
Or just type: phpize
in the imlib extension directory
then type: ./configure --with-imlib=shared
make
Then you will have an imlib.so file in your modules/ directory which you
can then point an extension=imlib.so directive to in your php.ini file.
-Rasmus
On Wed, 25 Apr 2001, Matt McClanahan
well, one idea is to serialize the array and put
into a HIDDEN text field to be submitted with
the FORM.
or, with no form, try this:
doc.php?myarray=. htmlentities(serialize($array));
-Original Message-
From: Clif [mailto:[EMAIL PROTECTED]]
Subject: [PHP] Passing arrays from page to
Hi everyone,
I'm a good perl programmer, but I'm not able to translate this small
Perl program to PHP:
$testo = 'Hi %NOME%, how are you? Tomorrow I\'ll go to %DESTINAZIONE%
with %AMICO%!';
%mioArray=( 'NOME' = 'Pippo',
'AMICO' = 'Pluto',
'DESTINAZIONE' = 'Roma');
print $testo.\n\n;
i tried to do it myself and nearly fell off
my chair becuase PHP makes you jump through
hoops to do such a simple thing
print preg_replace('/%([a-zA-Z]*)%/e', \$mioArray['$1'], $testo);
i never could understand why other languages
made regular expressions so convoluted.
why not just
On Wednesday 25 April 2001 13:43, Thimo von Rauchhaupt wrote:
Just to mention security, look at this page:
http://www.livin4.com/jhacker/jh1.htm
A simple login isn?t that easy,
If you have magic quotes turned on or use the addslashes function, this
should be no problem.
Always validate
I am going to have a page that will be used for visitors to upload a file to
my web server. I already use gzcompress to compress some of the pages that
I send to visitors, but can I also compress files that they are uploading to
my web server? They will be text files and some may be fairly
hholzgraWed Apr 25 14:02:46 2001 EDT
Added files:
/php4/ext/rtfm .cvsignore Makefile.in config.m4 php_rtfm.h rtfm.c
Log:
guess what ... :)
Index: php4/ext/rtfm/.cvsignore
+++ php4/ext/rtfm/.cvsignore
deps
Makefile
*.lo
*.la
libs
libs.mk
rasmus Wed Apr 25 14:05:59 2001 EDT
Modified files:
/php4/ext/standard formatted_print.c
Log:
- Make the printf functions binary clean
@ - Make the printf family of functions binary clean
Index: php4/ext/standard/formatted_print.c
diff -u
I propose we merge this new extension into the 4.0.5 release branch as it is
somthing that has been missing from PHP for a long time :)
- James
-Original Message-
From: Hartmut Holzgraefe [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 22:02
To: [EMAIL PROTECTED]
Subject: [PHP-CVS]
derick Wed Apr 25 14:10:14 2001 EDT
Added files:
/php4/ext/rtfm EXPERIMENTAL
Log:
- Marking this extension as EXPERIMENTAL
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hello All,
Could someone with the needed karma please change my email address in the
cvsusers file from [EMAIL PROTECTED] to [EMAIL PROTECTED]
Thank you!
--zak
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You've been my salvation!! thanks! :)
print preg_replace('/%([a-zA-Z]*)%/e', \$mioArray['$1'], $testo);
i never could understand why other languages
made regular expressions so convoluted.
why not just support the =~ binding operator
instead of that awful function syntax...?
--
PHP
andrei Wed Apr 25 14:18:44 2001 EDT
Modified files:
/CVSROOTcvsusers
Log:
Per Zak's request, changing his email address.
Index: CVSROOT/cvsusers
diff -u CVSROOT/cvsusers:1.260 CVSROOT/cvsusers:1.261
--- CVSROOT/cvsusers:1.260 Wed Apr 25 10:45:51
hholzgraWed Apr 25 14:21:26 2001 EDT
Added files:
/php4/ext/rtfm CREDITS
Log:
initial checkin
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
hholzgraWed Apr 25 14:26:05 2001 EDT
Modified files:
/php4/ext/skeleton create_stubs
Log:
a backslash was missing (+ whitespace)
Index: php4/ext/skeleton/create_stubs
diff -u php4/ext/skeleton/create_stubs:1.9 php4/ext/skeleton/create_stubs:1.10
ssb Wed Apr 25 14:46:40 2001 EDT
Modified files:
/php4/main main.c
Log:
* define PEAR_EXTENSION_DIR as well
Index: php4/main/main.c
diff -u php4/main/main.c:1.359 php4/main/main.c:1.360
--- php4/main/main.c:1.359 Sat Apr 21 18:09:13 2001
+++
php-general Digest 25 Apr 2001 22:19:37 - Issue 649
Topics (messages 50265 through 50376):
Re: Autoupdate of page
50265 by: Richard
Re: File Transfer over HTTPS
50266 by: Meir kriheli
selected option bla bla
50267 by: Hasbullah Pit (sebol)
50279 by: Wade
On 25-Apr-01 Larry Hotchkiss wrote:
Basically I am just trolling for some thoughts on how others may
accomplish this task.
I have a mysql database. In the database I of course have records.
These records have a date field and after so many days I have a script
to delete old
This probably isn't the most elegant method either, but this is how I did
it:
function mark_sel($value, $option) {
// Compare the actual value ($value) to a possible value ($option) to
determine
// if the possible value should be marked as selected in a form element.
if ($value ==
unfortunately, you dont have access to the files until they are on your
server, ie: already uploaded. You can compress them afterwards though like
you would normally
- Original Message -
From: Michael Conley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 6:37 PM
have you installed IMAP?
Chris
Calin Rotaru wrote:
Hello.
I have a problem with PHP.
I want to use imap functions. I receive a message that imap function is not
defined. I compiled PHP again with --with-imap option , but I've got an error
message at Apache compilation.
What is realy
Several people got the following error today when accessing my site. Does
anybody know what is going on?
They are PHP scripts accessing a mysql database if that helps.
I am not sure if this is a physical memory problem or what
Thanks
Randy
--
PHP General Mailing List
Hi all,
I'm using on my new machine (SuSE 7.0) PHP4. In one PHP4-Script I use
the mail-Function. But my /var/log/mail (qmail) does not give any entry
for this mail.
Is there a bug?
In PHP3 it was all running good.
I have a serious problem here because this is a customers site!
Thanks in
Hey all,
I keep getting this error message on a couple of pages from a site I am
currently working on, the strange thing about this is there are no
included files in 'browser.php' and I am certainly not including
'browser.php' anywhere.
Warning: Failed opening
I am trying to pull info from an Exchange LDAP server to make a dynamically
created phonebook, and am having trouble with one field. I think the problem
is that the script I have has everything pulled in an array, and all but the
field I am having problems with are strings. The telephoneNumber
Have a look at php.ini in /usr/local/lib
It looks like your prepend file is browser.php - just comment that line out.
Chris Fry
Joseph Blythe wrote:
Hey all,
I keep getting this error message on a couple of pages from a site I am
currently working on, the strange thing about this is there
maybe it's something in auto_prepend_file or auto_append_file. do
phpinfo() to check.
On Thu, 26 Apr 2001 09:36:56 +0930, Joseph Blythe
([EMAIL PROTECTED]) wrote:
Hey all,
I keep getting this error message on a couple of pages from a site I
am
currently working on, the strange thing about this
I have a cookie that times out after an hour for security reasons.
About 1 out of 200 of my users send me an email saying they can't log
into my site and I find out that it's usually because their clocks
are off. Has anyone had any luck using the time on the client to set
cookies by instead of
On 25-Apr-01 Thomas Edison Jr. wrote:
we're trying to develop an exact replica of the SkyBiz
downline|Matrix system program. But it's getting so
complicated niether is the logic coming out. we're
in need of help. Anyone familiar with the skybiz
matrix, please help!!
It's a 2 X 2 matrix
On Thu, 26 Apr 2001 01:48:13 +0200, Thomas Booms
([EMAIL PROTECTED]) wrote:
Hi all,
I'm using on my new machine (SuSE 7.0) PHP4. In one PHP4-Script I
use
the mail-Function. But my /var/log/mail (qmail) does not give any
entry
for this mail.
Is there a bug?
In PHP3 it was all running good.
I
Chris Fry wrote:
Have a look at php.ini in /usr/local/lib
It looks like your prepend file is browser.php - just comment that line out.
Those lines in the php.ini are blank
; automatically add files before or after any PHP document
auto_prepend_file =
auto_append_file=
Hmm,
On Thu, 26 Apr 2001 09:54:04 +0930, Joseph Blythe
([EMAIL PROTECTED]) wrote:
Chris Fry wrote:
Have a look at php.ini in /usr/local/lib
It looks like your prepend file is browser.php - just comment that
line out.
Those lines in the php.ini are blank
; automatically add files before or after
look at it this way:
you are dealing with an INTERVAL of time, thus the only reason you really
need javascript is in the construction of a date object.
you can either import that object into php as a string, or you can actually
go the extra mile and set the cookie in javascript.
HTH,
DanO
if I put the following piece of code in a forloop does it use more memory or
does it use the same memory since the same variable result is being used:
will it use up lots of memory if I execute it 1000 times or will it use the
same memory.
for (loop) {
$result = mysql_query (UPDATE A_TBL SET
Hello,
Is there a way with PHP to spawn an automatic download of an image file, a zip
file, or
PDF file (or other kind of file).
Basically I want to be able to popup that stupid little Open/Save As window
at my discretion, rather than let the end users browser choose that.
Or is this something
On Wed, 25 Apr 2001 17:32:44 -0700, DanO
([EMAIL PROTECTED]) wrote:
look at it this way:
you are dealing with an INTERVAL of time, thus the only reason you
really need javascript is in the construction of a date object.
as far as I know the only way to set a cookie's expiration is with an
exact
some code would be nice to have a look at :)
Other than that, check table names, database names, also your result lines, I've found
i get that error by not calling a result or calling the incorrect table/database
Peter
-Original Message-
From: Brian Rue [mailto:[EMAIL
On Wed, 25 Apr 2001 17:48:48 -0700 (PDT), Rasmus Lerdorf
([EMAIL PROTECTED]) wrote:
I have a cookie that times out after an hour for security reasons.
About 1 out of 200 of my users send me an email saying they can't
log
into my site and I find out that it's usually because their clocks
are
I have a cookie that times out after an hour for security reasons.
About 1 out of 200 of my users send me an email saying they can't log
into my site and I find out that it's usually because their clocks
are off. Has anyone had any luck using the time on the client to set
cookies by instead
MySQL doesn't like me
Sometimes, my pages that connect to the database get the error Warning:
Supplied argument is not a valid MySQL result resource... repeated over and
over again (something like 1000 times...)
What's causing this error? Obviously, PHP isn't getting a result back from
Hello everyone,
I want to build an online training center that let's me monitor/track
user progress, througout an online curriculum. The goal of the project is
to be able to 'certify' the user after completing certain lessons.
I want to:
-have online exams,etc.
-make it possible
Mark Maggelet wrote:
On Thu, 26 Apr 2001 09:54:04 +0930, Joseph Blythe
([EMAIL PROTECTED]) wrote:
Chris Fry wrote:
Have a look at php.ini in /usr/local/lib
It looks like your prepend file is browser.php - just comment that
line out.
Those lines in the php.ini are blank
;
Hi all,
I am trying to copy an image from an external server and save it to my own.
I have the following script to do this for a txt file and it works great!
?
$page = ../temp/yep.txt;
$date = date(http:/www.example.com/yep.txt);
$cartFile = fopen($page,a);
I've just started a PHP SDL module project on Sourceforge. The goal of this project
is to exploit the possibility of multimedia application development under PHP
utilizing SDL (Simple DirectMedia Layer) libraries. You will find an initial v0.1
release at
Hello everyone,
I'm looking for information on PHP+ MS Access , and PHP+MS SQL.
Any recommendations?
Thx in advance!
__John Monfort_
_+---+_
P E P I E D E S I G N S
www.pepiedesigns.com
The world is waiting, are you
no, don't worry, we'll help:-)
use mysql_query(INSRT INTO table SET name='$name', email='$email'); ...etc
see some examples you can find in documentations. Browse the web for it -
there's a whole bunch.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
I think you should use:
SELECT myTable.col
FROM myTable, otherTable
WHERE myTable.id = otherTable.ID
AND otherTable.data (LIKE a.% or LIKE s.% or LIKE io.bean);
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
what did you say the error was?
can you cutpaste it to us?
a fatal error is an error that ends with an Exit; - means it is fatal - non
debugguble.
I guess your database is doing something funny.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL
Don't think that's going to work - that's an UPDATE syntax - should be:
mysql_query(INSERT INTO table (name, email) VALUES('$name', '$email')); ...etc
Chris Fry
Maxim Maletsky wrote:
no, don't worry, we'll help:-)
use mysql_query(INSRT INTO table SET name='$name', email='$email'); ...etc
YUP, that will
read few manuals
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From: Chris Fry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 11:37 AM
To: Maxim Maletsky
my advise : use that as less as possible,
whatever is on the client side could be easy to hack, and not every browser
understand JavaScript either.
Use cookies, 1-200 is out - means they are unable to use your service : they
chousen it that way.
Sincerely,
Maxim Maletsky
Founder, Chief
Here's all the code that uses MySQL...
$db = mysql_connect(localhost,user,pass);
mysql_select_db(db,$db);
$gmdquery=SELECT * FROM game_of_the_day;
$the_info = mysql_query($gmdquery,$db);
while ($myrow = mysql_fetch_row($the_info)) {
(get info from the result)
}
... (decide
Previously, Jordan Elver said:
I'm not using virtual hosts on my local machine but I am on the production
machine. What should DOCUMENT_ROOT return? I though it returns the directory
of the current script. So if I had a site in
/usr/local/apache/htdocs/cha/script.php then I would expect
Problem with this is that many people use '+' in email addresses along with
other strange characters (a friend of mine has an apostrophe in her address
at General Electric).
Bottom line, trying to catch all valid email addresses using a regex is a
really ugly thing to try to do. The one shown
Steven Haryanto [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 4/25/2001 09:02 PM, Reuben D Budiardja wrote:
*SNIP*
What I *really* like to see in PHP is:
- NAMESPACE
- TRACEBACK INFO
- exception (try-except block)
- $obj-method()-anotherMethod()
-
I think here's your problem:
$query=INSERT INTO game_of_the_day VALUES
('',$curr_yday,'$gameone_genre',$gameone_number,'$gametwo_genre',$gametwo_nu
mber);
should look like :
$query=
INSERT INTO
game_of_the_day
(ID, curr_yday, gameone_genre, gameone_number, gametwo_genre,
Can anyone tell me whether php can use win32 dll library functions? If yes,
how?
Patrick
--
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
Hi,
I've got a load of records that are in different categories.
What is the best way to get all the records or selected records and print
them in such a way that they are grouped (on the page) in their relevent
category, like:
Fruit
- Apples
- Pears
- Bananas
Vegetables
- Carrots
- Cabbages
101 - 200 of 201 matches
Mail list logo