Dear Group,
Can anyone recomend a good webhost with socket support. I need to be able to use the
socket_bind(), socket_create(), etc. . . functions.
Any and all suggestions are greatly appreciated, - Underbrush
Georgie,
> > > I'm getting loads of "undefined variable" errors with this script.
> > any1 know
> > > why?
> >
> > You're using a recent release of PHP aren't you? Check out
> > http://www.php.net/manual/en/security.registerglobals.php for an
> > explanation of changes in 4.1.n.
> no, registergl
$string = strtolower($string);
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].;
> What is the code to make a string into lower case?
>
>
> Regards,
> Joseph A. Bannon
>
>
>
>
>
>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
On Sunday 03 March 2002 22:09, GENESiS DESiGNS wrote:
> Hello,
>
> I have a web form that allows someone to fdisc there drive C:\ but how to I
> make the PHP script to run that?
>
> By the way, I'm not using this to make someone real mad, I'm just curious
> and I will NOT put this script on the ne
Hey Kunal,
> I have a mysql table which stores the IP Address of my site visitors.
When I
> try to sort these Ip address in the ascending or descending order the
order
> is completely out of order. I am currently storing the IP addresses
under a
> varchar column. An int column would not store the
Dear all
There is one symbol in PHP that i always see is "->", could anyone pls tell
me what is this, and what does that do?
Here is the statement i saw could some pls explain what it means?
if (!empty($row->usd_period)
Thx a lot
Jack
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www
php-general Digest 4 Mar 2002 09:45:37 - Issue 1206
Topics (messages 87005 through 87058):
phpAdsNEW HELP
87005 by: Georgie Casey
Re: phpAdsNew
87006 by: DL Neil
87013 by: Georgie Casey
87054 by: DL Neil
Re: cursor focus
87007 by: Steven Walker
I have a file that is being uploaded, but I need to remove all the characters
in the filename except letters, numbers, and the '.' (dot). Example would be
'where_i_go.mp3' removing the '_' to get 'whereigo.mp3'. Below is what I have
to remove the none letters and numbers, but it also takes away
Here is the ideea.. i have a string variable $test that contains let's
say : 17"
Normally the output on the screen of this string would be echo $test; --->
17 \
There is this function stripslashes which gives me the oportunity to
output exactly what i want... i mean 17" .. .but this doesnt seem t
Try thinking :? :?
Just add a dot.
$filename = ereg_replace("[^a-zA-Z0-9.]", "",$filename);
=
I have a file that is being uploaded, but I need to remove all the
characters
in the filename except letters, numbers, and the '.' (dot). Example would be
'where_i_go.
> Try thinking?
Don't be a jerk.
Regards,
Joseph A. Bannon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks. Is there any way to work around this at present?
David
"Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> On Sun, 2002-03-03 at 04:16, David Apthorpe wrote:
> > I'm using PHP on the command line. Is there any way to exit, whilst
setting
> > the exit st
> > Try thinking?
>
> Don't be a jerk.
>
Don't be a programmer...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This should do it:
Niklas
-Original Message-
From: Claudiu [mailto:[EMAIL PROTECTED]]
Sent: 4. maaliskuuta 2002 11:56
To: [EMAIL PROTECTED]
Subject: [PHP] stripslashes in web forms
Here is the ideea.. i have a string variable $test that contains let's
say : 17" Normally the outpu
Don't don't me.
Regards,
Joseph A. Bannon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Don't don't don't me.. ehehehehee... %P
Niklas
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 4. maaliskuuta 2002 12:20
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] keeping the dot
Don't don't me.
Regards,
Joseph A. Bannon
--
PHP Gene
I think he was trying to say you should take a look at the manual
regarding regular expressions.
Once you get to the part that explains what [^ ] actually does you see
how obvious the answer is.
However, the synical reply from LuC isn't correct.
To match the dot character (.) you should use
I did and do, but the manual some times does cover small things list this. I
wish they had a "by example" book for PHP. Thanks for the help.
Regards,
Joseph A. Bannon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yow all
I know this is an of topic question but with all the system admins here
.
Does anybody know a good tool where I can monitor Compaq Proline servers
with that uses some kind of text file or csv.
So I can inport that file in mysql and do some thing on it via PHP :(
Maybe some of you did
If you have any Object Oriented Programming experience, then you may not
had asked this. Its a operator to access methods, and variables inside a
instance of a class , in which the variable before "->" is the
instance of the class and the latter is a method or variable of that
class. This is wha
Hi,
I would like to use the Saxon XSL processor from within PHP. Saxon is written
in Java (there is a saxon.jar; see http://saxon.sourceforge.net). Although PHP
has an option to use Sablotron as XSL processor as a module, this is not
supported with many hosting providers, and Sablotron is no
Yow
I need to calculate the Time ( days hour minutes between 2 times )
I have something but I have an error margine of 10 % and that is to high
Time one 2002/02/24 10:23:43
Time two 2002/02/02 12:43:12
this need to give me the correct time in days hours and minutes between the
2 dates
Hello and thanks for your help
how do I use php and mysql to print mailing lables?
I would like to be able to print mailing labels from an mySQL online database using
php.
Is it possible to do this as the same functionality as in an MSAccess offline database?
Thanks,
Ivan
Yow Sven,
> I need to calculate the Time ( days hour minutes between 2 times )
> I have something but I have an error margine of 10 % and that is to
high
>
> Time one 2002/02/24 10:23:43
> Time two 2002/02/02 12:43:12
>
> this need to give me the correct time in days hours and minutes
between the
Hi,
this is kinda a broad question
i have been asked to host a website that recieves a high
access rate i dont have exact numbers but does anyone here
run a big site with php mysql and if so what are your stats
os, and hardware
i dont want to underestimate in the hardware department
but i al
Hi,
It all depends on what you want.
Ofcourse you could output the labels somehow and just print that. For
example by generating HTML or PDF.
Another option is to connect to MySQL through ODBC and use the data as
you would using an MSAccess database..
I don't think there a builtin function
Hi,
Thanks for reading this message. I am having great difficulty recompiling
php 4.1.2 + apache 1.3.23 + gd 2.0.1. I need freetype support (and freetype
2 is installed).
I have followed Rasmus' instructions to the letter
(http://www.php.net/~rasmus/gd.html) and php appears to compile with no
Hi NG
how you have configured your php.ini (mail point) and your windws to mail?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
**Disclaimer
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
Personally, I'm leaning towards generating a PDF, displaying that for the
user and letting them click the print button.
=C=
*
* Cal Evans
* Journeyman Programmer
* Techno-Mage
* http://www.calevans.com
*
-Original Message-
From: Ivan Carey [mailto:[EMAIL PROTECTED]]
Sent: Monday, March
Hi,
I'm having trouble with a file upload php script.
I can upload a file, but when I try to transfer it from the temporary
location to anywhere within my domain, permission is denied.
I had exactly the same problem with the same script on another server and
tech support fixed it with the followin
How can I set a time limit for a form made by PHP (i.e.the value will auto
transfer after a certain time)
--
Ác¬P¤u§@«Ç
http://fansing.hk.st/
ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!)
http://acgzone.hk.st/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
I need the xslt_process function under the XSLT_functions to work under
either php 4.1.1 or 4.1.2.
I used to compile it with --sablot but that doesn't work anymore. Currently
I'm using sablot 0.8 and compile it with the following lines:
--enable-xslt --with-xslt-sablot
This still doesn't give me
I want to run a loop inside of the "body" section of the mail() function.
// CODE SNIPPLET //
mail ($to, $subj,
for ($i = 0; $i < $passengerNumber; ++$i) {
$Name_Passenger_[$i]
"
}
, $header);
// ***END CODE SNIPPLET *//
I can't seem to run the loop inside a vari
I'm assuming you want to send a list of passengers as the body of the text.
Surely you want to do something like:
$body = '';
for ($i = 0; $i < $passengerNumberl ++$i) {
$body .= $Name_Passenger_[$i].'\n';
}
mail ($to, $subj, $body, $header);
IE Prepare the list of passengers first, and
Hi
I have big problem with headers which I send to www browser: IE 5.5 and
Netscape 6.2. On my web site I have PHP script to download huge text
files to client side. The text file is compressed by gzip program before
it will be downloaded to client. My problem is how to send to www
browser co
Ooops...
$i < $passengerNumberl
should of course read
$i < $passengerNumber;
But you guessed that anyway, right???
Richy
-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: 04 March 2002 14:03
To: Richard Bradley; [EMAIL PROTECTED]
Subject: RE: [PHP] -loop quest
Nope, you can't, use the loop to create a temp variable containing the
message,
or do this:
mail($to, $subj, implode("\n", $Name_Passenger_), $header);
bvr.
Richard Bradley wrote:
>I want to run a loop inside of the "body" section of the mail() function.
>
>// CODE SNIPPLET**
I'm trying to understand how to write a regex when the only pattern is table
tags.
For one I need to figure out how to match the opening tag of the 4th
html table on a page.
For another I need to get the 3rd opening table row tag after the 7th
opening tag.
Thanks
Craig ><>
[EMAIL PROTECTE
First thing, do you want the visitor to receive the file as-is (gz
encoded) ? Or should it be decoded automatically to text ?
In the first case, the browser shouldn't be aware of the encoding type
(Content-Encoding header).
You should only send 1 Content-Type header.
The Content-Disposition
> For another I need to get the 3rd opening table row tag after the 7th
> opening tag.
not tested:
"(]+>.*){6}(]+>)([ ]*)(]*>)(.*){2}(]*>)(.*)"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Some one can help me. Why this is not working ?
# apache conf
php_admin_flag safe_mode on
php_admin_value safe_mode_include_dir "/myuser/safe/"
php_admin_value doc_root "/myuser/public_html/"
php_admin_value open_basedir "/myuser/public_html/:/tmp/"
#cat /myuser/public_html/x2.php
";
req
Hi,
Is there any way to check in the Apache logs whether someone has tried this
exploit?
Regards,
Xavier
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What unsubscribe at mailning list?
--
Web Master di:
http://www.coopmediante.it
Web Administrator di:
http://www.mediateca2000.net
We have an application framework that tidies up application session
variables as you traverse from page to page. It works really nicely - until
a user opens up 2 instances of a browser. Our code cannot distinguish
between different browser instances, so browser instance 2 causes our
application se
Thank you. This worked well.
John
On Fri, 1 Mar 2002, Richard Baskett wrote:
> This is a simple solution and it should work and you'll probably kick
> yourself when you hear it *grin* Use:
>
> $open_why_good_consult?>
>
> Put it all on one line, because the way you have it currently t
This is a behavior I have not found documented, in fact the books I have
read indicated that this would not be the case...
given the script (with session.save_handler = files):
";
}
session_start();
reg();
echo "test=<$test>";
?>
The output is:
in reg(), test=<13>
test=<>
I was quite sur
http://www.php.net/unsub.php
Should be in the bottom of every email you receive.
Dan
-Original Message-
From: Michele Salerno [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 7:53 AM
To: php-general
Subject: [PHP] Help me for unsubscribe
What unsubscribe at mailning list?
--
Web
I think session_register registers the variable and its value as a global.
In this case, $test's global value is nothing. nada. Because it doesn't
exist globally.
In the reg() function, what is being output is a LOCAL variable called
$test. Not a global value.
If you put the line
global
You may consider the use of Javascript to control the parent and child
windows and frames of your application.
/dkm
- Original Message -
From: "Neil Kimber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 9:51 AM
Subject: [PHP] Multiple browser instances - is i
OK, but then how do you explain:
";
}
global $HTTP_SESSION_VARS;
session_start();
reg();
if (session_is_registered("test")) {
$tt = $HTTP_SESSION_VARS["test"];
echo "session variable test=<$tt>";
}
else
echo "You really don't know what you're doing, do you?";
?>
This still gives me
On Sunday, March 3, 2002, at 11:15 AM, bvr wrote:
> If you append '[]' to the name, an array will be returned after submit
> with the values of the checked checkboxes.
>
Is there any other way of doing this? Using the brackets at the end of
the input's name is super-convenient, making it r
We've considered using javascript but cannot think of a way that would work.
Take a simple example, 2 browsers - opened separately, pointing at different
pages. We thought that we could set some property of each instance of the
browser to a unique value (i.e. the window name). We would only need t
$HTTP_SESSION_VARS only gets populated when you load another page. Or
refresh the current one. To use your example again...
";
}
global $HTTP_SESSION_VARS;
session_start();
$test = 12;
reg();
if (session_is_registered("test")) {
$tt = $HTTP_SESSION_VARS["test"];
echo "session variable tes
There's probably no real easy to tell. If there was, CERT would most likely
have it on their website (www.cert.org).
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
www.captainjack.com
- Original Message -
From: "Xavier Paz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
> Alternatively, is there any plans to change the DTD for
> XHTML Strict to allow brackets? IMO it's not something
> that cause problems if it were to be supported. Kind of
> lame that it's not, actually.
Subscribe to the www-html list at w3.org and ask the guys who look after
this sort of t
Create a frame set.
if your page opens without frameset the did something wrong, at least not
allowed. (like open in a new window)
If the main page, containing the frameset is loaded, the page is opened in a
new window or they pressed f5(reload).
===
We've considered using javascript
On Monday, March 4, 2002, at 02:25 AM, Rasmus Lerdorf wrote:
> Do a phpinfo() and check to see if you perhaps have a cookie with the
> name "id" set with the value "1". If your look at variables_order in
> your
> php.ini file, you will see that cookie data will override get-method
> data.
>
On Monday, March 4, 2002, at 05:28 AM, bvr wrote:
> To match the dot character (.) you should use escape it like this: \.
> Otherwise the dot will match any character for it's a 'wildcard' and
> the result of your replace will be empty.
I thought that in this example (in this thread) the dot
On Monday, March 4, 2002, at 10:37 AM, Jon Haworth wrote:
> Subscribe to the www-html list at w3.org and ask the guys who look after
> this sort of thing if it's a possibility. Realistically, no-one will be
> prepared to rework the DTDs that already exist, but it might be
> something
> that's
On Monday, March 4, 2002, at 10:50 AM, Erik Price wrote:
> I thought that in this example (in this thread) the dot was being used
> inside of a character class -- and that it does not need to be escaped
> when it is inside of a character class (wouldn't make sense for "match
> any character"
Then, when
session_register("");
is called (even on a variable which is going out of scope) what actually
happens? Where is the data actually stored? I know it isn't in the file yet
(I have session.save_handler = files) because nothing is written to the file
until the script exits. So the me
How would that help directly in PHP? PHP cannot interrogate framesets or
other attributes of the browser. I could see this working if we had
javascript that wanted to keep track of which browser instance is being
handled. But from PHP I don't see how this could work.
PHP can interrogate the brows
Hi all,
I have a mySQL back up q: I have a textfile which is filled with statements
as:
--
DROP TABLE Clients\g
CREATE TABLE Clients(
ID INT,
date BLOB,
name BLOB,
age BLOB,
PRIMARY KEY (ID)
)\g
INSERT INTO Clients VALUES ('all record data')\g
INSERT INTO Clie
Dear Ray Hunter,
Thank you for your help in
"177. 2002-02-20 RE: [PHP] How to Config PHP to run snmp in php script
php-gener Hunter, Ray "
Your solution is very helpful, it help me to do what i need to do.
1)Create the db in mysql: mysqladmin -u (your user name) -p (if you have
a password) create (new database name)
2)mysql -D (the name you used above) < (the text file)
Works on Unix and 2000. Is that what you mean?
-Scott
On Mon, 4 Mar 2002, Wilbert Enserink wrote:
> Hi all,
>
> I have
>From the manual page for session_register on PHP.net:
"For each name, session_register() registers the global variable with that
name in the current session. "
I tried your script below. The following was created in my session file:
!test|
Which I'm guessing means a variable which has not bee
I just read further on the manual page for session_register. It also
contains the following:
Caution
This registers a global variable. If you want to register a session variable
inside a function, you need to make sure to make it global using global() or
use the session arrays as noted below.
R
Hello there,
I'm having quite a few problems at the moment. The story is as follows.
The designer created 14 HTML files. That includes two language versions
(so basically there are only 7 different files... the rest are same
files in a different language). One language is English, the second o
open_basedir doesn't take a list of paths.
On Mon, 4 Mar 2002, Renato Lins wrote:
> Some one can help me. Why this is not working ?
>
>
>
> # apache conf
>
> php_admin_flag safe_mode on
> php_admin_value safe_mode_include_dir "/myuser/safe/"
> php_admin_value doc_root "/myuser/public_html/"
Which OS? If a Linux distro, are you sure you have both libpng and
libpng-devel packages installed? And does your configure script detect
PNG support?
On Mon, 4 Mar 2002, Alex Bloor wrote:
> Hi,
>
> Thanks for reading this message. I am having great difficulty recompiling
> php 4.1.2 + apache
Well,
Run mysql with that file as input.
I work on Linux and I do something like:
mysql -ppassword DBNAME < dump.sql
Where
DBNAME is the name of the database,
dump.sql is the text file,
password is my password.
(I think I did something on Windows months and it
worked.)
--- Wilbert Enserink
I am having the same problem, I can't compile the latest php-cvs with
gd support on Linux. It worked until last week or so.
Sebastian
At 8:46 Uhr -0800 04.03.2002, Rasmus Lerdorf wrote:
>Which OS? If a Linux distro, are you sure you have both libpng and
>libpng-devel packages installed? And d
Well, what is the error?
On Mon, 4 Mar 2002, Sebastian Wenleder wrote:
> I am having the same problem, I can't compile the latest php-cvs with
> gd support on Linux. It worked until last week or so.
>
> Sebastian
>
> At 8:46 Uhr -0800 04.03.2002, Rasmus Lerdorf wrote:
> >Which OS? If a Linux di
Hello Lauri,
Monday, March 04, 2002, 7:25:27 PM, you wrote:
LV> Does anybody have any ideas? Do I need to install Russian language packs
LV> on my computer? Do I need to pass a header in PHP, which would define
LV> the charset to use? Anything else? Which encoding to use (currently:
LV> )?
It
Hi,
Does fopen() work similar to open in CGI ? If the file doesn't exist will
it create it? What is the best way to test if the file was created?
TIA
Scott
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 8:55 AM
To: Craig Westerman; php-general-list
Subject: Re: [PHP] Real world regex
> For another I need to get the 3rd opening table row tag after the 7th
> opening tag.
not tested:
"(]+>.*){6}(]
Hi ya all!
I'm trying to figure out how to use the PHP script to detect the
presence or absent of the file. I'm using UNIX machine, so it is not a
problem. I do not want to use the fopen() to open the file since it is not
a readable file, but a executable file. I'm thinking of using the ex
all-
sorry for the late reply, but the information is still timely. :)
Anyone that needs Javascript code that works in all browsers should get it from
http://dhtmlcentral.com
[why reinvent the wheel when somebody offers you a free cadillac]
something that might be of use to is the pagescrollfad
Here's the reply I got from someone out posting it to this outlook! The
case is now closed!
--clip begin--
How about: http://www.php.net/manual/en/function.file-exists.php ?
-- clip end--
Thanks,
Scott
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Hi ya
I'm trying to compile 4.1.2, and it just isn't happening... I originally had
4.0.6 installed, I go to compile 4.1.2 and it just doesn't seem to be
'taking' the compile. This is what I'm doing step by step:
./configure --with-apache=../apache_1.3.22 --with-mysql=/mysql/
--enable-track-vars --w
--with-apache builds the static library version of PHP which is linked
into Apache. If you use this switch you need to recompile Apache as well
which you haven't done. Please read the INSTALL file that came with PHP.
-Rasmus
On Mon, 4 Mar 2002, James Taylor wrote:
> I'm trying to compile 4.1.
Hi, i need some help,
We gotta here some database using mysql 3.22.32 and we integrate it with php.. in the
webpages and stuffso now, we upgraded to PHP 4.1.2 and it's seems php it's not
recognizin the data in the mysql database.. any ideas ?
thnx in advance..
Alexandra Aguiar
Is there an easy way to upload a CSV file into a MySQL table? Is there also
a way to export the MySQL file into a CSV file? I would like to make a form
using PHP to do import a CSV file into an existing table. Any advise would
be appreciated.
Ben
--
PHP General Mailing List (http://www.php.
Are you just compiling and installing php? Because you have to make
clean,make, stop apache, and make install apache as well.
No need to configure, your old conf will work just fine. This may not be
entirely correct, but it has always worked for me.
Dan
-Original Message-
From: James Tay
ÁC¬P wrote:
> How can I set a time limit for a form made by PHP (i.e.the value will auto
> transfer after a certain time)
> --
> Ác¬P¤u§@«Ç
> http://fansing.hk.st/
> ACG¤¬°Ê°Ï°ì(¤j®a¦h¨Ç¨Ó¶K¹Ï§a!)
> http://acgzone.hk.st/
HTML forms execute in the client's browser, which does not care at all wh
I'm not sure if you're talking just PHP, but this is the best database tool
I've ever used:
http://anse.de/mysqlfront/
/*
Key-Features
With MySQL-Front you can...
create/drop databases
create/drop tables
edit/add/delete fields
edit/insert/delete records
edit BLOBs and MEMOs with Bitmap/GIF/J
Hi again,
i just saw that others seem to have the same problem while trying to compile php with
GD2.
I saw the link to Rasmus's php & GD2 install guide and tried it that way, but still
get the same error as before.
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gd
I am looking for exactly the same thing. There must be a way to handle this
problem from php. Doing it from javascript makes sense only if you have a
simple website. Besides I don't use frames, so even with javascript I can't
solve the problem.
Maybe there's a way to find a browser's unique id!
Ben,
> Is there an easy way to upload a CSV file into a MySQL table? Is
there also
> a way to export the MySQL file into a CSV file? I would like to make
a form
> using PHP to do import a CSV file into an existing table. Any advise
would
> be appreciated.
Manual: 6.4.9 LOAD DATA INFILE Synta
Good day,
That won't submit the form, unfortunately. It'll just redirect the user to
the page without submitting the contents of the form.
If the browser supports it, one can use javascript to submit the form after
a certain amount of seconds have elapsed.
Darren G
- Original Message -
From: "DL Neil" <[EMAIL PROTECTED]>
To: "Ben C." <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 8:04 AM
Subject: Re: [PHP] Upload a CSV file to MySQL
> Ben,
>
> > Is there an easy way to upload a CSV file into a MySQL table? Is
> there als
You may want to take a look at phpmyadmin, as it has this functionality.
- Original Message -
From: Philip J. Newman <[EMAIL PROTECTED]>
To: DL Neil <[EMAIL PROTECTED]>; Ben C. <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 11:15 AM
Subject: Re:
So, it says in the manual that gc doesn't occur if the save path depth is
more than 2. This is true in the manual at php.net, but not zend.com. I
have tested this, and seems like there is no gc occurring if I DID have the
save path elsewhere (i.e. where the directory depth is > 2). Is there any
OK, I need to know is there a place where i can find out how to pull
information(TEXT) from a MySQL DB table and print where i place a variable
in a php page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Whitaker wrote:
> OK, I need to know is there a place where i can find out how to pull
> information(TEXT) from a MySQL DB table and print where i place a variable
> in a php page?
I have NO idea what your question is... did you just want to echo something
from your MySQL db table inside
Nope, all my values are strings.
"Markas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
$SQLString = "INSERT INTO Movies (Title, Actors, Review, Reviewer, Short)
VALUES ('$Title','$Actors','$Review','$Reviewer','$Short')";
As the manual says: Note: Unlike the two other synta
On Monday, March 4, 2002, at 02:26 PM, Jason Whitaker wrote:
> OK, I need to know is there a place where i can find out how to pull
> information(TEXT) from a MySQL DB table and print where i place a
> variable
> in a php page?
>
>
This tutorial was my introduction to the concept, but you can
I'm not sure I understand you 100% but it sounds like you want to get the
static HTML results of your dynamic PHP script and and do something with it.
Happily, PHP is one of the few languages that can do this with ease :-)
The feature you want is "output buffering". Output buffering _traps_ the
o
Sorry, I may not haven been clear.
What should I do to include from a safe area (/myuser/safe) when I have
open_basedir set to other path (/myuser/public_html) ?
Rasmus Lerdorf wrote:
>open_basedir doesn't take a list of paths.
>
>On Mon, 4 Mar 2002, Renato Lins wrote:
>
>>Some one can help me
1 - 100 of 184 matches
Mail list logo