You may have to declare PHP_SELF as global. Take a look at
http://www.php.net/manual/en/language.variables.scope.php
Mike
-Original Message-
From: Larry Hotchkiss [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 12:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP_SELF - silly q
Hi php4!
On Tue, 23 Jan 2001, [EMAIL PROTECTED] wrote:
> Is anyone doing anything with PHP and vchkpw?
>
> There isn't much about it in the archives, but I'd hate to wast a bunch
> of time and find out there is already something in progress.
>
>
> I just built a mail server using these package
At 13.33 +0100 01-01-23, Sander Pilon poked the keyboard as follows:
> >
>> >If you want to be totally searchengine-safe, do not use variables on the
>> >url, do not rely on cookies and do not rely on POST variables
>> for the pages
>> >you want to have the searchengine spider.
>>
>> How the
It worked for my test scripts.
Check out the attached file. You will have to skip over some of the DB
abstraction class stuff.
good Luck,
Florian
Florian Clever
[EMAIL PROTECTED]
http://www.Clever-Software-Solutions.de/
PGP Key @ ldap://certserver.pgp.net/
> -Ursprüngliche Nachricht-
MySQL Team wrote:
> Log:
> Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is
> that the client can now connect to a server which is using a default
> charset other than latin1.
Great! All those compiler warnings in libmysql are gone on Win32 :-)
--
sebastian berg
Now you also have a place to send people in the future when they ask this
question :)
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1785
Sincerely
berber
Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From:
Try this, It's pretty amazing and does all that you want.
http://www.SellShareware.com/ProgramInfo.asp?AfID=2407&PrID=34362
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 7:59 AM
To: 'PHP General List. (E-mail)'
Subject: [PHP] Newsletter
Yep, thats it, I knew it was a stupid question. I already had a few
globals assigned in the function, dont know why I didnt think to ad
PHP_SELF as well. Thanks.
Krznaric Michael wrote:
>
> You may have to declare PHP_SELF as global. Take a look at
> http://www.php.net/manual/en/languag
I want to run a query on a database and export the recordset to a
spreadsheet, preferably Excel native.
The box is on a Win32 OS, so I can instantiate a Excel COM object (similar
to the PHPBuilder COM article), and use the COM methods to create an Excel
file.
Or, I can fopen and fput a CSV fo
Hit Thomas,
you need to recompile PHP with the options you want (as a shared apache
module) and then replace libphp4.so on /usr/lib/apache/ with your own
version.
A good thing is to keep SuSE's version as a backup:-)
Don't forget to restart apache afterwards. (/etc/rc.d/apache stop;
/etc/rc.d/apa
Does anyone know a function to give me the mySql field types? I saw the
function mysql_field_type, but that returns php types not mysql. What I
wanna do is if the type of the field is "Text" then I wanna make a
"textarea" to edit and add stuff. Thanks.
Jason
--
PHP General Mailing List (htt
> Does anyone know a function to give me the mySql field types?
> I saw the function mysql_field_type, but that returns php types not
> mysql. What I wanna do is if the type of the field is "Text" then I
> wanna make a "textarea" to edit and add stuff. Thanks.
If you have phpMySql, take a l
you have to set the 'session.save_path' in your php.ini.
be careful with the slashes you use. as you can see from
the error msg by default it's '/' but windows uses '\'.
good luck
Johannes
"Jimmy Bäckström" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
001201c08564$f7398660$554d59d5@broder">news:0
> If you have phpMySql, take a look at the file:
> /mysqladmin/tbl_properties.php
> That code is doing something to return the type of the field. It's a
> little hard to follow so I don't know exactly how he's doing it and
> unfortunately, didn't have the time to decipher. :p However, I'm
> sure
MySQL Team wrote:
> Log:
> Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is
> that the client can now connect to a server which is using a default
> charset other than latin1.
I can't link the latest CVS of PHP on Win32:
libmysql.lib(my_thr_init.obj) : error LNK20
hey,
I am sure this is a dumb question but, I cannot seem to find out what i am
doing wrong.
I have a three page form, it basically takes a users input, displays it on the
next page to make sure the users info is correct (i store the variables on
this page in a form in hidden input tags), when
what do most use, combination of cookies and GET?
--
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]
Make sure you are not forgetting to include $action as a hidden input, so
your script can know how to process.
, for example
-Ben
-Original Message-
From: Jeremy Bowen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 12:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Multiple Page
On Tue, 23 Jan 2001, Boget, Chris wrote:
> Never mind, I see how he did it. He runs the following query:
>
> "SELECT FIELDS FROM $tableName"
>
> Where '$tableName' is your table (obviously) and he parses the result
> to get all the information.
>
Actually he did a "SHOW FIELDS FROM $tableNa
Wade D wrote:
> what do most use, combination of cookies and GET?
IMHO the optimal solution are cookies with a fallback to GET.
In some situations, though, it may be better to drop cookies completely.
Wagner
--
One maniac alone can do what 20 together cannot
--
PHP General Mailing List (htt
Wade -
I am very new with using PHP so I cannot submit my answer as "what most
use". However, here is what I use:
I do not like to be dependent on Cookies. For me, Cookies are a
convenience. That is, I may store a UserID and if it is in a Cookie,
use the ID to put up a greeting or whatever.
1.that won't always display properly
2.that doesn't allow for inline images
To do it properly use MIME. Richard Heyes has already done all the hard work
for you:
http://www.zend.com/codex.php?id=103&single=1
. Jade Ohlhauser
[website architect]... http://bandwidthplace.com
Is there a such thing as to much code in an include
file that will break it. Assuming that you have, say
20 people hitting that one page simultaniously. Will
it just slow things or will it actually break (As in
show code to the viewer)?
Thanks
--Mike
___
Try wget
http://sunsite.dk/wget/index.html
At 12:05 PM -0500 1/23/01, Jason Jacobs wrote:
>Hey guys and gals! I have my personal site on go.com, and I wanna move it.
>The problem is I don't have it all backed up on my machine (I think I only
>have some of the images), but I want to mov
that html mail class is fantastical :)
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: [EMAIL PROTECTED] ("Jade Ohlhaus
If your refering to old Pascal pre-3.0 in how you could only have X number
of bytes in a file (32k I think) then pascal would not parse the rest, then
no php isnt limited to this, your pages will just get slower and slower
because of more hits.
Chris Lee
Mediawaveonline.com
"Mike Mike" <[EMAIL
ola all,
has anyone used the zend ide+debugger?
before I slap down $800, I'd like to know if people who have think it's
groovy..
:)
_alex
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Cen
cmv Tue Jan 23 13:08:13 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
Never added this ...
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.64 php4/pear/Makefile.in:1.65
--- php4/pear/Makefile.in:1.64 Fri Jan 19 21:39:26 2001
+++ php
I second that.
The IDE+Debugger combo really looks great, esp. because of the debug
support being AWOL in PHP4.
I'm a little worried about the IDE being written in java tho...I hope its
not as slow/memory hungry/crash happy as the other java + JRE apps I've used...
Too bad there's not an eval
when I list all parts of an object returned by
$a = imap_fetchstructure($link,1);
I will get something like this:
[parameters] => Array
( [0] => stdClass Object
( [attribute] => BOUNDARY
[value] => =_NextPart_000__01C08563.8269C440 )
)
I' am not a
> The IDE+Debugger combo really looks great, esp. because of the debug
> support being AWOL in PHP4.
I'm a little bit irked about that actually, they obviously stopped the
"free" development on it, and moved it in house. But I guess you gotta put
food on the table :)
I really would prefer to hav
I have a field in MySQL that holds data that may look like this:
Rose Painting"Looks really nice, blah, blah"25.00
Now, I want to pull that data back into a form to edit. Here's how I have
unsuccessfully been doing it:
?>
beginning code
Description:
...ending code
?>
I looks like that
Hello,
I have some codes like:
Page 1
Page 2
Page 3
If I selected item 1 and item 3 both, how can I get my multiple selection in
the PHP codes? (it seems to me it always give me the last selection only).
Thank you very much in advance.
Regards,
David
It stores it in a 2D array. There's info on it on the FAQ.
here's the URL:
http://www.php.net/FAQ.php#7.14
david klein wrote:
>
> Hello,
>
> I have some codes like:
>
>Page 1
>Page 2
>Page 3
>
>
>
> If I selected item 1 and item 3 both, how can I get my multiple selectio
Are there any tutorials on how to use Sockets in PHP?
If so, where can I find them? I've looked on several of
the sites that are linked from the main php.net site but
found nothing... :/
Thanks.
Chris
Shawn,
Tested, it works now. Thanks a bunch!
Best Regards,
David
>From: Shawn Blaylock <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: david klein <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [PHP] How does PHP accept multiple selection
>Date: Tue, 23 Jan 2001 13:51:08 -08
Alex,
I saw a demo of it about 3 months ago while they were working on it
and it looked pretty impressive and contained all the necessary debug
features I asked about. As far as sending info to the browser, you
might be surprised as I think it might do some of that but I don't
recall
exactly wha
You might want to look at Jeremy Brands VERY useful "variables from uri"
function that can be found at http://www.nirvani.net/software/ I use this
religiously and am quite pleased with it.
--Joe
On Tue, Jan 23, 2001 at 02:19:46PM -0500, Kristofer Widholm wrote:
> At 13.33 +0100 01-01-23, Sande
cmv Tue Jan 23 13:09:55 2001 EDT
Modified files:
/php4/pear Makefile.in
Log:
Forgot this too ...
Index: php4/pear/Makefile.in
diff -u php4/pear/Makefile.in:1.65 php4/pear/Makefile.in:1.66
--- php4/pear/Makefile.in:1.65 Tue Jan 23 13:08:13 2001
+++ php4
cmv Tue Jan 23 13:36:12 2001 EDT
Modified files:
/php4/pear/CryptCBC.php
Log:
wrong name
Index: php4/pear/Crypt/CBC.php
diff -u php4/pear/Crypt/CBC.php:1.3 php4/pear/Crypt/CBC.php:1.4
--- php4/pear/Crypt/CBC.php:1.3 Sat Jan 13 12:34:35 2001
+++ php4/
Feel free (as in GPL) to use my libHtmlForm functions available here:
http://www.nirvani.net/software/libHtmlForm/
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - - - - - - - - - - - - -
Hello,
I wonder myself, which method is better to fetch a web page:
$file = fopen($url, "r");
$page = fread($file, 5);
or
$file = join('', file($url));
, speaking from the performance point of view? (or is there any better?).
Thanks.
--
PHP General Mailing List (http://www.
At 4:47 PM -0500 1/23/01, Shane McBride wrote:
>I have a field in MySQL that holds data that may look like this:
>
>Rose Painting"Looks really nice, blah, blah"25.00
>
>Now, I want to pull that data back into a form to edit.
>Here's how I have unsuccessfully been doing it:
>
>?>
> beginning
bbonev Tue Jan 23 13:46:08 2001 EDT
Modified files:
/php4/ext/vpopmail CREDITS README config.m4 php_vpopmail.c
php_vpopmail.h
Log:
changed function names to be like vpopmail_add_user instead vpopmail_adduser
added vpopmail_error to rep
Hello ,
I have some questions about new products from Zend.
1. After the my "Commercial Subscription Plan" expire,
will scripts coded with "Zend Encoder SE" working ? (if it work in users servers
with "Zend
Encoder SE Runtime plugins").
2. If I shall choose payment 12 months, I shal
Hi,
I've attempted to add RC4 encryption / decryption
facility in PHP. It's been tested on PHP4.
It handles all the XORing and conversions while
encrypting and decrypting also all urlencoding and
decoding. It's been pretty fast also.
I've written a tutorial on it, whatever it is :
http://www.de
HELP!
I need to access a database on a mssql server from a linux box, but the php
doesn't recognize any of the mssql statements. Apparently mssql support was
not included in the inital php installation (which came with Mandrake 7.2).
I know there's the option of downloading the PHP source and co
After I sent this message I looked at the code again. I saw the error as
obvious as daylight. It's working great now.
Thanks.
- Original Message -
From: "Steve Edberg" <[EMAIL PROTECTED]>
To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 5:
I thought this had been addressed earlier, but I could not find the thread.
If I have a MySQL DB that has 50 records in it and I want to display 5 per page. How
do I do this. Also, 50 was just a nice round number, the number will change constantly.
All the search engines are doing this type of
Shane McBride wrote:
> If I have a MySQL DB that has 50 records in it and I want to display 5 per page. How
>do I do this. Also, 50 was just a nice round number, the number will change
>constantly.
$sql = "select * from table limit 0,5"; <-- first 5
$sql = "select * from table limit 5,
For any of you developing on a Win machine you might want to try:
http://www.soysal.com/PHPEd
There will be new version up shortly and the version after it will have
interactive debugging.
- Original Message -
From: "Alex Black" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday
How do I build a link to
an attached file to an email?
I have the filename, mime-type and size
but where do I get the path to the file?
--
**
* Jochen Kächelin*
* Ihr WEBberater - Werbeagentur Pulvermüller *
* Stuttgarter St
I can't say for sure but my gut reaction is:
1) Not using directories sounds like it would be complicated and
a point of failure
2) If you want to have a single code source, maybe you should just
create a stub page in each directory that includes the main one,
something like:
At 05:24 PM 1/23/01 +0100, Jirka Kosek wrote:
>Teodor Cimpoesu wrote:
> > my follow-up was from an suggest of using <% though :)
> > it exists in C, ASP and JSP. We have it in PHP, why not use it?
>
>Because it is not compatible with XML syntax.
I agree. The short answer is to the question is "S
What are the HTTP Headers performing a POST?
I need to simulate a POST to a webpage.
NOTE: I do not want to use curl or the post-to-host function, since these
get the information.
What I want to do is this:
I enter the page "localhost/post.php" where there are a set of HTTP Headers
for sending
You can get your answer from a program I wrote, in fact, feel free (as
in GLP) to use the POST function that I wrote.
http://www.nirvani.net/software/SmartBeep_PageIT_Plus/
See the "urlize_array" and "post_method" functions.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAI
> When calling the php4 code below, sometimes the browser receives
> -the "HTML estandar text"
> -sometimes the "Text generated from PHP" (but NEVER both!)
> -and ocassionaly the error:
> "Warning: fopen("php://stdout","w") - Bad file descriptor in
> /home/sites/site74/web/_proc/pruebas/stdout-tes
>Can anyone direct me to some up-to-date documentation on how to install
(and then use) the Pear included in the distribution? There seems to be
minimal (and perhaps outdated or inappropriate?) install instructions
included with the source distribution, but I've found nothing on how to use
it.
I
You can provide the full path:
require "/usr/local/share/apache/htdocs/deep/down/dir/a_specific_file";
You can alter include_path in php.ini to have
"/usr/local/share/apache/htdocs/deep/down/dir:./:/usr..." in it
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Musi
>I want to run a query on a database and export the recordset to a
>spreadsheet, preferably Excel native.
>
>The box is on a Win32 OS, so I can instantiate a Excel COM object (similar
>to the PHPBuilder COM article), and use the COM methods to create an Excel
>file.
>
>Or, I can fopen and fput a C
> I wonder myself, which method is better to fetch a web page:
>
>$file = fopen($url, "r");
>$page = fread($file, 5);
>
> or
>
>$file = join('', file($url));
Probably about the same either way...
Maybe not building an array to build a string will save a little...
You could test
> How do I build a link to
> an attached file to an email?
>
> I have the filename, mime-type and size
> but where do I get the path to the file?
You may want to use Manuel Lemos' mail class to handle that
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music
I've used the tag in Internet Exploder to talk to the server via
javascript. It may be possible using a regular frame also. Here's the low
down on how I did it.
1.) Some onclick, onchange ... action calls a javascript function that looks
like this
function getData() {
d
I created a table with FaceMysql that had one field and I could not add data
to it .Only when I recreated it with 2 fields and a primary key did it
work.Is there any reason for this?Must there always be a primary key in
Mysql?I've never known this to be true of relational Db's.Especially if you
ca
Yeah I used a path name with '\' instead of '/' but it still does not work. Help!
"Johannes Janson" <[EMAIL PROTECTED]> wrote in message
94kpfm$4cc$[EMAIL PROTECTED]">news:94kpfm$4cc$[EMAIL PROTECTED]...
> you have to set the 'session.save_path' in your php.ini.
> be careful with the slashes you
Everybody talks about this nice configuration file, but where is it?!
I have compiled php4 with apache, but even a »find . -name "php.ini«
gives anything.
Do I really need to recompile php to change its configuration?
--
Rasmus Resen Amossen | stud.mat.dat at the University of Copenhagen
Jagtvej
Sefton didn't know what to do:
> > I have a form in an htm file that is sending info to a cgi script
> > (formmail.pl) but the confirmation page I am using is php3. I want to
pass
> > the value of a text box in the form to the php3 page.
> > So I need the faq_confirm.php3 page to appear, plus
It seems to only allow me to add data if I have more than 1 field.Is this a
bug?Phpmyadmin doesnt have this problem.
Mike P
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
On Wed, 24 Jan 2001, Rasmus Resen Amossen wrote:
>Everybody talks about this nice configuration file, but where is it?!
>I have compiled php4 with apache, but even a »find . -name "php.ini«
>gives anything.
>Do I really need to recompile php to change its configuration?
No. Please read the INSTA
Hi if anyone has any knowledge of a RAQ 2 please read on...
I have no idea how to install PHP to work with the current settings... I
cant find apacheeven though it is supposed to be built in right?. Well would
someoen please if they know how tell me how to install PHP on a CObalt RAQ 2
Thank
I found a great little snippet by accident that does the "Previous 123 Next"
links. If anyone is interested, here's the link to it:
http://www.phpbuilder.net/snippet/detail.php?type=snippet&id=21
- Original Message -
From: "Shane McBride" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent
try find / -print |grep "php\.ini" after your make install.
will take awhile, but that should find it :D
On Tuesday, January 23, 2001, at 04:44 PM, Rasmus Resen Amossen wrote:
> Everybody talks about this nice configuration file, but where is it?!
> I have compiled php4 with apache, but even a
locate php.ini
in windoze, the windows key+f, type in php.ini
_a
--
Alex Black, Head Monkey
[EMAIL PROTECTED]
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: [EMAIL PROT
Hi again,
How do I link this image file so that when users click on it they get
the bigger version (which is named 01.jpg).
" : "No Photo Yet\n";
echo "$photo";
?>
Here is the html version of what I am trying to do, as you can see the
'' is a variable.
Thanks again,
Dave
Basically, in your SQL, just use "LIMIT"
Select * from foo where something = 'something_else' limit 0, 10;
Select * from foo where something = 'something_else' limit 10, 10;
Select * from foo where something = 'something_else' limit 20, 10;
Select * from foo where something = 'something_else' li
Hi,
I am trying to run this code from the manual but with no success:
It returns this error:
Fatal error: Call to undefined function: aspell_new() in
/home/www/htdocs/sunsetstudios/photoscope/test.php on line 2
Is there a module have to enable to use Aspell? Or is there something I have
to chan
Or :
Six lines down we see :
Configuration File (php.ini) Path
Which shows the path to php.ini
Philip
On Tue, 23 Jan 2001, Alex Black wrote:
> locate php.ini
>
> in windoze, the windows key+f, type in php.ini
>
> _a
>
>
> --
> Alex Black, Head Monkey
> [EMAIL PROTECTED
Ahh... found the answer :) So much for the PHP doc, it didnt say anything
about what i needed, I had to use the Zend one :|
-Original Message-
From: Matt Stone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 24 January 2001 12:54 PM
To: PHP List
Subject: [PHP] Aspell Function
Hi,
I am tryin
And the answer was?
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Matt Stone" <[EMAIL PROTECTED]>
To: "Matt Stone" <[EMAIL PROTECTED]>; "PHP L
Hi,
I am the editor of the Symantec AntiVirus Research Center(re) Newsletter and
I am looking for someone to write an article on PHP security/viruses/worms.
For those that don't know Symantec publish the Norton range of software.
The newsletter has a circulation of about 200,000 and is published
Teodor Cimpoesu wrote:
> I've got a nice browsecap.ini file from php4win.de.
> You can then simply use get_browser() [ listed under Miscellaneous functions]
Hi Teodor
I can't find it! I went to the site and downloaded the complete
php_for_windows install thinking that I could unzip the lot in L
I had to download a the aspell library :)
-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 24 January 2001 1:03 PM
To: PHP User Group
Subject: Re: [PHP] Aspell Function
And the answer was?
Gfunk - http://www.gfunk007.com/
I sense much beer i
Arghh!! Is aspell even supported on windows 2k?
-Original Message-
From: Matt Stone [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 24 January 2001 1:06 PM
To: Josh G; PHP User Group
Subject: RE: [PHP] Aspell Function
I had to download a the aspell library :)
-Original Message-
Fro
I'm going to created a database with the use of a php/html page on my
commercial host (forsite.net). I have yet to master the unix directory
system so I don't want to play around looking for it. Does a database have
to "live" in the MySQL directory, or can it be in my html web directory?
How d
I use the news.netimages.com gateway to access this mailing list since I
don't feel like getting my mailbox flooded with mail (and wasn't really
happy with the way the digest worked). However, I've noticed that the
newsgroup only works for reading -- e.g. I can't post messages to it and
have to se
I have the sniplet to run teh query at the page to insert data as shown below. After
it is run, there was en error said something like
"Mysql warning, 0 ( zero) is not Mysql index" and the error point to the line using
mysql_insert_id($HotelID);
My limited experience cannot tell me what should
HI Jack,
What is the variable $HotelID ?
mysql_insert_id - has an optional parameter: link_identifier (the database
handle)
So in this case, is $HotelID your database handle? If not, then just call
mysql_insert_id() without any parameters.
Otherwise, it is always best to pass around the databa
The variable $HotelID is the hotelId of the record that I just inserted into
database and I want to retrive the Id of that record to insert into another
table.
what is the correct syntax of using mysql_insert_id in this case?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching th
Dave,
Here is a bare-bones example.
You will notice that you don't need to hard code the thumbnail on the first
page either as long as are consistent in file naming with a set prefix
differentiating thumbnails from their larger pix.
page_one.php:
click to enlarge";
echo "";
?>
page_two.php:
"
> Is there any easy way to post to the group instead?
I'm reading and posting from the very handy news://news.php.net server they
have set up. It's just the coolest! =)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi,
I'm running a PHP script that uses system() to call an expect script.
This expect script uses ssh2 to log into another server, and run some
commands. At the shell prompt (bash) the expect script runs exactly as
I'd hope.
However, when I use system() in PHP to run the script, the output on t
Hey, you stole my name! ::grin::
Man is this going to get confusing.
Best regards,
Andrew
--
Andrew Hill
Director Technology Evangelism
OpenLink Software
http://www.openlinksw.com
XML & E-Business Infrastructure Technology
On 1/23/01 11:35 PM, "Andrew H
Is there a good web site to find people interested in volunteering on PHP
projects? I have a fantasy / sci-fi / rpg based web site and wanted to
find someone interested in helping with the PHP development. If you're
interested, feel free to visit the site and contact me. If you know of
wher
hi,
i dug around and found that there is something called
XSLT and that there are things like coccon etc in java
from apache group, and php's own parser (sablotron?)
that i can use to transform xml into javascript and
html.
my problem is that i need to create a xslt parser that
i can use both
Hi
I recently wrote a script that copies about 200 data files from a remote
server, and stores them locally.
It does this under cron every night
Everything has been fine for a couple of weeks, but now when running the
script I get an error message that reads
Warning: file(http://remote.server.
Hi people,
Off the topic here again but hope it won't be too much to ask. As inexperience person
on setup new Db on Mysql for new php project, I need to add new database on Mysql for
new project, as stupid as I normally am, I don't really know what exactly to do about
the set up of user and pas
you are forgetting to do a reload.
./mysqladmin reload
> -Original Message-
> From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 25 January 2001 04:36
> To: [EMAIL PROTECTED]
> Subject: [PHP] as stupid as I normally am.
>
>
> Hi people,
> Off the topic here again but ho
Hello All,
php ISP HOST WANTED
I seek expressions of interest from North American based PHP internet service
providers (ISP's). We seek a php focused ISP where security, reliability and
performance are paramount. RAID networking is essential. Our client needs mission
critical host services on a
best kind of networks, those RAID networks. Much better than
STRIPE printers
Gfunk - http://www.gfunk007.com/
I sense much beer in you. Beer leads to intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Richard Creech
>Ok.
>So the client authenticates on the external server. The client then
>clicks on a link to go to the restricted section on our webserver in
>such a way that they will be pre-authenticated on our server. When
>the user clicks that link, a script on their end is executed to open a
>socket to o
101 - 200 of 214 matches
Mail list logo