php-general Digest 21 Dec 2003 07:41:38 -0000 Issue 2485
Topics (messages 173079 through 173095):
Re: sessions problem
173079 by: Larry Brown
Re: include files
173080 by: Todd
Re: mysql load_file retreival
173081 by: Chris
173082 by: Larry Brown
173087 by: Chris
173089 by: Larry Brown
173090 by: Chris
173094 by: Larry Brown
Domain Check script
173083 by: Cesar Aracena
173086 by: Cesar Aracena
173091 by: Website Managers.net
Best place to search archives
173084 by: Philip J. Newman
173085 by: olinux
Re: Document Indexer and Database Contents Index
173088 by: olinux
Re: form variables
173092 by: Ewout de Boer
compile problems
173093 by: Brian V Bonini
Includes inside includes
173095 by: Robbert van Andel
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Make sure you have session_start(); at the beginning of each script you run
from the time you start inserting variables to the time you want the session
to end.
-----Original Message-----
From: Nitin [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 10:48 AM
To: PHP-General
Subject: [PHP] sessions problem
hi all,
i'm just starting to use sessions.
i've a problem,
i started session and assigned variables to $HTTP_SESSION_VARS
i can very well see these vars in my next script, but i need to get back to
first script for some working, and strangely i dont find these vars there.
any help or suggestions
Nitin
--- End Message ---
--- Begin Message ---
This looks like it should do exactly what I need. Thanks for pointing that
out.
Marek Kilimajer wrote:
> See function debug_backtrace(), it's available since 4.3.3
>
--- End Message ---
--- Begin Message ---
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Oops, my bad on the post. I am not sending echo header...just header(...
I thought, based on reading from mysql that it did escape certain
characters. I'll start looking at other possibilities...
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 1:24 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Try looking at the data that's supposed to be outputing the pdf. Something
may be failing somewhere and you might see an error message. If you don't
see any error messages and are apparently seeing gthe pdf data, check for
whitespace outside php tags and any extraneous echo's or print's, that would
very likely cause the pdf to not be able to be read properly.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 10:36 AM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Oops, my bad on the post. I am not sending echo header...just header(...
I thought, based on reading from mysql that it did escape certain
characters. I'll start looking at other possibilities...
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 1:24 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Thanks for the help. I went through a troubleshooting phase that started
with writing the raw data from the mysql client to disk. Checking the size
it was apparent that it was much too small. I tried running my script with
a smaller pdf and it worked. It turns out that blob has a max of 64k. A
tad small for general use for holding graphics. I changed to a mediumblob
which is either 12 or 16 meg, I'm not sure off the top of my head now but,
that is plenty for my needs. I did end up changing the behaviour of my
script though. Instead of writing to a file and using load_file, I recieved
the file on upload, base64 encoded it and stored it directly to the db.
Then on retrieval, unencoded and handed it off with content type, size,
name, and application information in the header. It works very nicely.
Thanks again...
Larry
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 3:49 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
Try looking at the data that's supposed to be outputing the pdf. Something
may be failing somewhere and you might see an error message. If you don't
see any error messages and are apparently seeing gthe pdf data, check for
whitespace outside php tags and any extraneous echo's or print's, that would
very likely cause the pdf to not be able to be read properly.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 10:36 AM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Oops, my bad on the post. I am not sending echo header...just header(...
I thought, based on reading from mysql that it did escape certain
characters. I'll start looking at other possibilities...
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 1:24 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Gald to hear it works now. Are you base64 encoding it for any particular
reason? Seems to me that it would waste a lot of db space as base64 encoding
adds quite a bit to the filesize.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 2:16 PM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Thanks for the help. I went through a troubleshooting phase that started
with writing the raw data from the mysql client to disk. Checking the size
it was apparent that it was much too small. I tried running my script with
a smaller pdf and it worked. It turns out that blob has a max of 64k. A
tad small for general use for holding graphics. I changed to a mediumblob
which is either 12 or 16 meg, I'm not sure off the top of my head now but,
that is plenty for my needs. I did end up changing the behaviour of my
script though. Instead of writing to a file and using load_file, I recieved
the file on upload, base64 encoded it and stored it directly to the db.
Then on retrieval, unencoded and handed it off with content type, size,
name, and application information in the header. It works very nicely.
Thanks again...
Larry
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 3:49 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
Try looking at the data that's supposed to be outputing the pdf. Something
may be failing somewhere and you might see an error message. If you don't
see any error messages and are apparently seeing gthe pdf data, check for
whitespace outside php tags and any extraneous echo's or print's, that would
very likely cause the pdf to not be able to be read properly.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 10:36 AM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Oops, my bad on the post. I am not sending echo header...just header(...
I thought, based on reading from mysql that it did escape certain
characters. I'll start looking at other possibilities...
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 1:24 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I was following the example given on the php site that someone was using to
break down large files. They base64 encoded the file while reading it in,
broke it into pieces (while inputing the pieces into the db), then
re-animated it so to speak afterwards by reversing the process. I get the
impression that encoding the file will leave it in a state that is palatable
to the database (no quotes,commas,slashes etc) and it seemed that since the
example worked that way that I'd follow suit. Plus, if I decided that the
file sizes should be split up, I could ultimately simply change a line of
code or so and split it up. It is only from a lack of thorough
understanding of exactly what characters can be found in a pdf file when
viewed as a single string for the database that I don't step out and design
something of which I have not seen an example. Plus I figure that I should
learn from people out there of whom many have spent many hours beating their
head against a wall looking for a solution and are later willing to share
that as an example to save others time.
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 5:55 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
Gald to hear it works now. Are you base64 encoding it for any particular
reason? Seems to me that it would waste a lot of db space as base64 encoding
adds quite a bit to the filesize.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 2:16 PM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Thanks for the help. I went through a troubleshooting phase that started
with writing the raw data from the mysql client to disk. Checking the size
it was apparent that it was much too small. I tried running my script with
a smaller pdf and it worked. It turns out that blob has a max of 64k. A
tad small for general use for holding graphics. I changed to a mediumblob
which is either 12 or 16 meg, I'm not sure off the top of my head now but,
that is plenty for my needs. I did end up changing the behaviour of my
script though. Instead of writing to a file and using load_file, I recieved
the file on upload, base64 encoded it and stored it directly to the db.
Then on retrieval, unencoded and handed it off with content type, size,
name, and application information in the header. It works very nicely.
Thanks again...
Larry
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 3:49 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
Try looking at the data that's supposed to be outputing the pdf. Something
may be failing somewhere and you might see an error message. If you don't
see any error messages and are apparently seeing gthe pdf data, check for
whitespace outside php tags and any extraneous echo's or print's, that would
very likely cause the pdf to not be able to be read properly.
Chris
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 10:36 AM
To: Chris; PHP List
Subject: RE: [PHP] mysql load_file retreival
Oops, my bad on the post. I am not sending echo header...just header(...
I thought, based on reading from mysql that it did escape certain
characters. I'll start looking at other possibilities...
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 1:24 PM
To: PHP List
Subject: RE: [PHP] mysql load_file retreival
LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo
header()? the header function should not be echoed.
header('Content-type: application/pdf');
echo result[0];
-----Original Message-----
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 9:29 AM
To: PHP List
Subject: [PHP] mysql load_file retreival
I have set up a script to recieve a pdf file and store it in a mysql db
using "update db set field=load_file('fileIncludingFile') where id=$id".
Afterwards I can see the file has been uploaded into the blob field
successfully and without errors. Now I want to get the file back out. I
set up a script with "select field from db where id=$id" and used
mysql_query followed by mysql_fetch_row and did echo header("Content-type:
application/pdf"); and then echo result[0]; where result was the row
fetched. I get the prompt to open with pdf but pdf fails. I have
magicquotes on but I understand that the load_file() function within mysql
does the escaping etc. How can I "un-escape" the data? The only thing I
saw on the mysql manual is on how to use load_file_infile/load_file_outfile
which does not apply to this. Can someone lend a hand here?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hi all,
Anyone knows about anyPHP script to add a domain check option to a web site
like almost any hosting company has? I'm looking into hotcripts.com but
everything offered serves also like a registering script for the available
domains and I just want to inform my visitors if the domain they entered is
available or taken... that's all.
Thanks in advanced,
___________________________
Cesar L. Aracena
Commercial Manager / Developer
ICAAM Web Solutions
2K GROUP
Neuquen, Argentina
Tel: +54.299.4774532
Cel: +54.299.6356688
E-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Ok... I found it... but not quite what I like. I found this function (thanks
to WebWorkz) that needs not only the domain name but also the extension to
be written. I changed the form a little bit so the extension is selected by
the visitor from a drop down menu but I don't know what to change in the
function to use it. Here it is:
function whois ($a_server, $a_query, $a_port=43)
{
$available = "No match";
$a_query = str_replace("www.", "", $a_query);
$a_query = str_replace("http://", "", $a_query);
$sock = fsockopen($a_server,$a_port);
IF (!$sock)
{
echo ("<b>Could Not Connect To Server.</b>");
}
fputs($sock,"$a_query\r\n");
while(!feof($sock))
$result .= fgets($sock,128);
fclose($sock);
IF (eregi($available,$result))
{
echo ("<font color=\"blue\"><b>$a_query is available.</b></font>");
echo ("<BR>");
echo ("<BR>");
echo ("<font class=\"bod\"></font>Domain Check Copyright:");
echo ("<BR>");
echo ("<BR>");
echo ("2002 WebWorkz Network, Inc. All Rights Reserved.</font>");
}
ELSE
{
echo ("<font color=\"red\"><b>$a_query is not available.</b></font>");
echo ("<BR>");
echo ("<BR>");
echo ("<font class=\"bod\">Domain Check Copyright:");
echo ("<BR>");
echo ("<BR>");
echo ("2002 WebWorkz Network, Inc. All Rights Reserved.</font>");
}
}
The domain variable is $query and the extension I want to add is passed as
$ext... any thoughts?
Thanks in advanced.
"Cesar Aracena" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hi all,
>
> Anyone knows about anyPHP script to add a domain check option to a web
site
> like almost any hosting company has? I'm looking into hotcripts.com but
> everything offered serves also like a registering script for the available
> domains and I just want to inform my visitors if the domain they entered
is
> available or taken... that's all.
>
> Thanks in advanced,
> ___________________________
> Cesar L. Aracena
> Commercial Manager / Developer
> ICAAM Web Solutions
> 2K GROUP
> Neuquen, Argentina
> Tel: +54.299.4774532
> Cel: +54.299.6356688
> E-mail: [EMAIL PROTECTED]
>
--- End Message ---
--- Begin Message ---
Try adding $ext onto the end of str_replace like this:
$a_query = (str_replace("www.", "", $a_query).".".$_POST["ext"]);
$a_query = (str_replace("http://", "", $a_query).".".$_POST["ext"]);
Jim
----- Original Message -----
From: "Cesar Aracena" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 20, 2003 2:30 PM
Subject: [PHP] Re: Domain Check script
| Ok... I found it... but not quite what I like. I found this function (thanks
| to WebWorkz) that needs not only the domain name but also the extension to
| be written. I changed the form a little bit so the extension is selected by
| the visitor from a drop down menu but I don't know what to change in the
| function to use it. Here it is:
|
| function whois ($a_server, $a_query, $a_port=43)
| {
| $available = "No match";
| $a_query = str_replace("www.", "", $a_query);
| $a_query = str_replace("http://", "", $a_query);
|
| $sock = fsockopen($a_server,$a_port);
|
| IF (!$sock)
| {
| echo ("<b>Could Not Connect To Server.</b>");
| }
|
| fputs($sock,"$a_query\r\n");
|
| while(!feof($sock))
| $result .= fgets($sock,128);
|
| fclose($sock);
|
| IF (eregi($available,$result))
| {
| echo ("<font color=\"blue\"><b>$a_query is available.</b></font>");
| echo ("<BR>");
| echo ("<BR>");
| echo ("<font class=\"bod\"></font>Domain Check Copyright:");
| echo ("<BR>");
| echo ("<BR>");
| echo ("2002 WebWorkz Network, Inc. All Rights Reserved.</font>");
| }
|
| ELSE
| {
| echo ("<font color=\"red\"><b>$a_query is not available.</b></font>");
| echo ("<BR>");
| echo ("<BR>");
| echo ("<font class=\"bod\">Domain Check Copyright:");
| echo ("<BR>");
| echo ("<BR>");
| echo ("2002 WebWorkz Network, Inc. All Rights Reserved.</font>");
| }
|
| }
|
| The domain variable is $query and the extension I want to add is passed as
| $ext... any thoughts?
|
| Thanks in advanced.
|
| "Cesar Aracena" <[EMAIL PROTECTED]> escribió en el mensaje
| news:[EMAIL PROTECTED]
| > Hi all,
| >
| > Anyone knows about anyPHP script to add a domain check option to a web
| site
| > like almost any hosting company has? I'm looking into hotcripts.com but
| > everything offered serves also like a registering script for the available
| > domains and I just want to inform my visitors if the domain they entered
| is
| > available or taken... that's all.
| >
| > Thanks in advanced,
| > ___________________________
| > Cesar L. Aracena
| > Commercial Manager / Developer
| > ICAAM Web Solutions
| > 2K GROUP
| > Neuquen, Argentina
| > Tel: +54.299.4774532
| > Cel: +54.299.6356688
| > E-mail: [EMAIL PROTECTED]
| >
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, visit: http://www.php.net/unsub.php
|
|
--- End Message ---
--- Begin Message ---
Hay guys, Where is the best place to search the general-php archives (o;
---
Philip J. Newman
Master Developer
PhilipNZ.com [NZ] Ltd.
[EMAIL PROTECTED]
Ph: +64 9 576 9491
Fx: +64 9 576 2532
Mob: +64 21 0483 999
-----------------------------------------------------------------
"This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read
it - please contact me immediately, destroy it, and do not
copy or use any part of this communication or disclose
anything about it. Thank you. Please note that this
communication does not designate an information system for
the purposes of the Electronic Transactions Act 2002."
------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
> Hay guys, Where is the best place to search the
> general-php archives (o;
>
first place:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&group=php.general
runner up:
http://marc.theaimsgroup.com/?l=php-general
olinux
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--- End Message ---
--- Begin Message ---
Checkout htdig www.htdig.org
--- [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I'm looking for a PHP program like mnoGoSearch but
without the need to
> recompile it with PHP. Does such a PHP program
exist?
>
> Basically, I want the program to index file types of
.doc, .txt, .html,
> .pdf, etc. And also the contents of a database data
table.
>
> Thanks,
>
> Kevin
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--- End Message ---
--- Begin Message ---
-----Oorspronkelijk bericht-----
Van: Nitin [mailto:[EMAIL PROTECTED]
Verzonden: zaterdag 20 december 2003 7:30
Aan: PHP-General
Onderwerp: [PHP] form variables
> i've an application, where i'm receiving variables from an html form and
process them in the script. depending on the values, i may want to get some
extra information from user through another form. now, problem is how can i
keep the vaiables received from the first form, without passing them as
query string to the next script or specifying as hidden form fields.
You could use sessions to keep track of your data between different scripts
without reposting anything
http://www.php.net/manual/en/ref.session.php
Regards,
Ewout
--- End Message ---
--- Begin Message ---
Not a clue what's wrong, anyone?
functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_
multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo
sapi/apache/mod_php
4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt
-lc-client -lc
rypt -lmysqlclient -lcrypt -lpam -lgd -lfreetype -lpng -lz -ljpeg -lz
-lm -lcryp
t -lcrypt -o libphp4.la
-C: no such file or directory
net/php/reflect.class: no such file or directory
-C: no such file or directory
net/php/reflect.properties: no such file or directory
java.util.zip.ZipException: duplicate entry: usr/src/php-4.3.4/ext/java/
at
java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:166)
at sun.tools.jar.Main.addFile(Main.java:297)
at sun.tools.jar.Main.create(Main.java:258)
at sun.tools.jar.Main.run(Main.java:89)
at sun.tools.jar.Main.main(Main.java:518)
*** Error code 1
Stop in /usr/src/php-4.3.4.
--
Brian GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
GnuPG: http://gnupg.org
http://www.biglumber.com/x/web?qs=0x2C35011004A4F0DC
Linux Registered User #339825 at http://counter.li.org
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
I've written a class that is calling an include
function to include a setup file. The problem is that
the setup file is in another directory than the class.
I'm including the file using:
include ("../common/setup.inc");
Is there a way that i can make the relative path
inside the class definition specific to the class
definition, not the page that is including the class
definition. I have trouble when I include the class
definition. I get an error that it cannot include
"../common/setup.ini" whenever the class is called
from a directory above common.
I hope this makes sense. and thanks for your help.
Robbert van Andel
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--- End Message ---