I think what you've seen is shtml / ssi / server side includes, but anyway,
since you asked:
1. create a .htaccess file which pushes *all* .php pages through PHP
I *THINK* the code is something like:
Files ~ \.html$
ForceType application/x-httpd-php
/Files
But you should check the apache
On a major level, create or use a large CMS (content management system), and
use the information you have in the databases / file system to establish
what's new, modified, etc.
On a smaller level, you could check which files have been updated in X days
(I think) with PHP, and display them as a
when i try to rename a file with single quote(s) in the
(Bfile name, e.g.
(B
(Brename("/tmp/foo 'n bar", "/tmp/foobar");
(B
(Brename fails with "there is no such file".
(Bwhats wrong?
(B
(Bthanx,
(B
(Bakagisan
(B
(B__
(BDo You Yahoo!?
On Friday 31 January 2003 16:52, $B%X!<%s(B $B%H!<%^%9(B wrote:
(B when i try to rename a file with single quote(s) in the
(B file name, e.g.
(B
(B rename("/tmp/foo 'n bar", "/tmp/foobar");
(B
(B rename fails with "there is no such file".
(B whats wrong?
(B
(BYou probably need to
On Friday 31 January 2003 15:50, Keith Spiller wrote:
Hello Everyone,
I'm trying to create a Logout Function and Link. My site uses a standard
htaccess file for its authentication method. After the brower requests the
username and password they have access to the protected site.
Then
At 09:52 31.01.2003, =?ISO-2022-JP?B?GyRCJVghPCVzGyhCIBskQiVIITwlXiU5GyhC?=
said:
[snip]
when i try to rename a file with single quote(s) in the
file name, e.g.
rename(/tmp/foo 'n bar, /tmp/foobar);
rename fails with there is no such file.
whats wrong?
strings must be wrapped in quotes
$name = 'ab';
Justin
on 31/01/03 8:45 PM, Aaron Stephan William Boeren ([EMAIL PROTECTED]) wrote:
The script:
?php
#start variables
$name = ab;
$age = 16;
#start script
echo Hi, my name is $name and I'am $age years old.;
?
--
PHP General Mailing
hi
we try to migrate our intranet from asp to php the last problem is our
indexserver.
we are using the ado functions of php to make a connection and a query on
the indexserver but the recordset is empty
code:
$objQuery = new COM(ixsso.Query)or die(Cannot start Query);
$objutil = new
hi all
I'm writing a mail client and I got problem with attachments. I have no
idea how to read and save attachments. Mayby someone already did something
like that a can help me with some advice or giving me link to some
resourses.
greetz
bartek
--
PHP General Mailing List
a real simple thing i do is to increment the counter
then use header() to redirect to same page with a variable added.
so at the top of details.php i put..
if(!$_GET['no_count']){
...increment counter
header(location:...details.php?no_count=on);
exit;
}
of course people can always just manually
php-general Digest 31 Jan 2003 11:51:40 - Issue 1855
Topics (messages 133706 through 133756):
php question - query string
133706 by: Anthony Ritter
133708 by: Philip Hallstrom
133709 by: Lowell Allen
php as shell script
133707 by: David H
133710 by:
$name = ab;
Notice: Use of undefined constant ab - assumed 'ab' in
c:\inetpub\wwwroot\sdd\pages\nameage.php on line 3
rant
Honestly, do you read the error messages or do you just post them to the
list? You need to stop using us for the easy answer and do a little
looking yourself. For
Just drop on over to
http://phpicalendar.sourceforge.net/nuke/
and I think you'll find what you are looking for.
Jerry Artman
Budget and Reimbursement
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
popen might help you, but if you want to control programs from a
browser, you will encounter one problem - once your script is finished,
your program is closed too.
Antti wrote:
I want to for example give commands to mpg321 when it is executed with
the -R option (remote control mode). Is this
When I push the submit button it starts to send the request to my server
and uploads a file, but if I upload more than one at a time it doesn't
even start to upload them. My upload max should be like 50M in php.ini.
What is the problem.
antti
--
PHP General Mailing List (http://www.php.net/)
At 11:11 31-1-2003, you wrote:
hi all
I'm writing a mail client and I got problem with attachments. I have no
idea how to read and save attachments. Mayby someone already did something
like that a can help me with some advice or giving me link to some
resourses.
Maybe it helps to see how an
Hello Everyone
This might be slightly offtopic since I'm not sure its php related but
I'm working on a script where some inputdata is taken for further
processing. For validation purposes I want to make sure certain chars are
not part of the input. Basically stuff like $ * :; etc...
So
Firstly, try uploading two SMALL files (say, no more than 1k each), just to
check if it's an issue with *two files*, or an issue with *file size*,
*script time outs* (maximum execution time) or something else.
Start ruling them out, one at a time.
Justin
on 01/02/03 12:03 AM, Antti ([EMAIL
At 14:11 31-1-2003, you wrote:
So I'm using ereg(pattern, input) to see if the pattern matches or not.
SO for exclusion I build the following pattern [^$] and pass it to ereg
above. So if the input includes a $ the ereg should return false and the
processing shouldn't take place.
Well the
Can I make a suggestion?
I tend to look at the issue of user input the other way around... rather
than excluding things I don't think I want, I choose in allow things I *DO*
want... so instead of saying a username shouldn't contain
!@#$%^*()_+-=?:';, I say it should contain a-zA-Z0-9_-.
This
I use this:
$name=strtr( $name,
?*#$%^:+=/\,
__);
Victor wrote:
I DO want preserve the filenames, and the pluses come from the user
(beta testers that deliberately try to hack the script) . all I want to
do is make sure the the script doeasnt breack when a user uploads a file
Hi to all!
I'm working at a simple script that let me upload files in a Intranet.
The problem is that these files are videos, so really big (in the order of
Gbytes).
I think that HTTP upload doesn't fit to solve this problem so I thought
about FTP.
Can you tell me what do you think about this?
Search www.hotscripts.com, I'm sure you will find something
Max Tappenden wrote:
Clear DayHello there.
Basically I'm trying to make a file manager with PHP.
Here's what I need to do
Ok I have artists and coders working for my site
No FTP
I want them to be able to upload/download files from me
Justin French wrote:
Firstly, try uploading two SMALL files (say, no more than 1k each), just to
check if it's an issue with *two files*, or an issue with *file size*,
*script time outs* (maximum execution time) or something else.
Start ruling them out, one at a time.
Justin
on 01/02/03 12:03
Thanks for the welcome! And naturally, I need help. :-)
I am just learning PHP, although I have taken programming classes in C and
am a little familiar with writing small scripts.
My husband wrote a simple PHP script for a client of ours, which I have the
pleasure of fine-tuning, the idea being
Hiya,
I have nearly finished a project I am working on, and completely forgot about
having a newsletter service! Basically its a website, and on the registration page
people opt in or out of the newsletter, and this is a field in the database.
So either once a week, or randomly I want
On Fri, 31 Jan 2003, Marek Kilimajer wrote:
I use this:
$name=strtr( $name,
?*#$%^:+=/\,
__);
I'm hoping that double quote was a typo??
Ed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check max_post_size in php.ini
Antti wrote:
When I push the submit button it starts to send the request to my
server and uploads a file, but if I upload more than one at a time it
doesn't even start to upload them. My upload max should be like 50M in
php.ini. What is the problem.
antti
On Friday 31 January 2003 21:47, Antti wrote:
Justin French wrote:
Firstly, try uploading two SMALL files (say, no more than 1k each), just
to check if it's an issue with *two files*, or an issue with *file size*,
*script time outs* (maximum execution time) or something else.
Start
On Saturday 01 February 2003 00:47, Julie Williams wrote:
Basically, all the script does (or should do) is build an e-mail to a
client based on a set of variables defined by the user, using an HTML form.
It is also supposed to warn the user with a print message whenever a
variable is
Hi...
can you give me some lights in this subject? How checkboxes work with php?
Or where i can find some info about this? Or both :)
Ex: if i want to erase from db all data with the checkbox active...
thanks...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Marek Kilimajer wrote:
check max_post_size in php.ini
Antti wrote:
When I push the submit button it starts to send the request to my
server and uploads a file, but if I upload more than one at a time it
doesn't even start to upload them. My upload max should be like 50M in
php.ini. What is
-Original Message-
From: Mr. BuNgL3 [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] checkboxes and php...
Hi...
can you give me some lights in this subject? How checkboxes
work with php?
Or where i can find some info
Cesar Rodriguez wrote:
-snip--
The message I get is:
Fatal error: Call to undefined function: mysql_pconnect() in
var/www/html/lesson/firsta.php
Seems that PHP4 does not find the MySQL library. I checked php.ini and
httpd.conf files and everything is in its
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: The
document containd no data everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have this line in your form?
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: The
document containd no data everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: The
document containd no data everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have this line in your
Hi,
I have upgraded my server with the 4.3.0 version. The
cli was upgraded also and all my scripts started to
crash.
I ususally put a #!/husr/local/bin/php -q in all
scripts that need to be executed from the crontab.
All the sudden the scripts ended with error messages
such as Warning:
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: The
document containd no data everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have
Show us the code
Antti wrote:
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into
50M
and now when the request is sent the whole apache goes down
giving: The
document containd no data everytime I send a request. I tried
also 10M
but same happens.
Generally yes, since 4.3 cli does not change the working directory
Robert Mena wrote:
Hi,
I have upgraded my server with the 4.3.0 version. The
cli was upgraded also and all my scripts started to
crash.
I ususally put a #!/husr/local/bin/php -q in all
scripts that need to be executed from
Hi,
I am working on porting PHP onto NetWare. I am testing the various
features on NetWare. In one such testing I need to be able to enter
username and password from a PHP script which is read off into PHP
through an API which can be passed to my code for usage. How can I do
it? Also, how is this
Marek Kilimajer wrote:
Show us the code
Antti wrote:
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into
50M
and now when the request is sent the whole apache goes down
giving: The
document containd no data everytime I send a request. I tried
also
Hello again,
another problem with 4.3.0. I have gd support but
after the upgrade my scripts started complaing :
Fatal error: Call to undefined function:
imagecreatefromjpeg()
My ./configure (the same used for ages).
'./configure' '--with-apxs' '--with-ttf' '--with-xml'
'--with-gd' '--with-ftp'
Hi guys,
I made a upload file's script and it works fine.
No, I wanna create a page where it will display the directory content and
will let me delete any file standing there.
Is there any way to use php for that? Where can I get info about it?
BTW, I have PHP/MySQL working on a Linux system
Read the manual first. If you can't find it, search the net (google is a
great place to start). If you still can't find it, _then_ ask on the list.
I had no idea how to do this, but it took me 30 sec to find out, and I'm a
newbie.
http://no.php.net/manual/en/function.unlink.php
vennlig hilsen
Hi,
I'm a beginner in PHP and I want to access some variable all of my php
sites. I want to order them in an array, class,...
Eg.:
User.Name
User.Phone
General.Info
Camera.Type
Camera.Class
...
What is the most secure and beautiful solution for that in PHP?
Can I add an array into the $_SESSION
input type='hidden' name='MAX_FILE_SIZE' value='1'
You're saying you're only uploading 10K total... for all of the files. If
the browser is respecting this, and you're trying to upload more than 10K,
then it could not upload anything and you get your error.
If it was a PHP issue, it seems
The upload form: (There are ofcourse many of of the first three inputs.)
form action='$PHP_SELF' method='POST' enctype='multipart/form-data'
input class='form' type='text' size='3' name='tracknum[]'
value='$tracks'
input class='form' type='text' size='25' name='uartist[]'
value='$uartist'
Hi Jason,
Sorry, I'm very new to this. Since my code is not huge, I have included it
below. I removed some of the text so that it is less bulky. I hope
everything is clear. Thanks for your help!
?php
//Build email Body based on customer request
IF (isset($custemail)) {
IF
Julie,
What version of PHP? Where is $custemail coming from, form on another
page/same page, database? Global variables on or off in your php.ini?
Julie Williams wrote:
Hi Jason,
Sorry, I'm very new to this. Since my code is not huge, I have included it
below. I removed some of the text so
On Friday 31 January 2003 22:33, 1LT John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving:
The document containd no data everytime I send a request. I tried
also 10M but same
I've got a folder with about 100 jpg files and a menu which a link to
each one.
Works fine but looks crude. Obviously, the image shows as a default on
a white background, located in the upper left.
I'd like to spiffy up the appearance with a background color and
centering the image. [e.g.
Take a look at http://www.php.net/manual/en/security.registerglobals.php
Basicly you should use $_REQUEST['custemail'] ...
Julie Williams wrote:
Hi Jason,
Sorry, I'm very new to this. Since my code is not huge, I have included it
below. I removed some of the text so that it is less bulky. I
Hey all,
Here's the situation. I'm on a server running FreeBSD and Apache 2.
Someone else installed both. There is software that is running on this
server, that I'm sure is dependent on certain options being compiled into
Apache.
I'm trying to install PHP on the server to make life a little
Does Nope mean to both my questions.
Does MySQL create a log file of warnings?
and
can PHP call it?
I figure even if MySQL as a log file, PHP can't call it, because the PHP
function mysql_info was only add in 4.3.0
Mark.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi John,
The variables are coming from a form, located at:
http://www.swedishengineering.com/newsite/requestresponse.html
I don't know what version of PHP or if the global variables are on or off.
I would have to ask the client who their provider is and contact them. I'm
guessing you're asking
Hi everyone!
I'm having a severe session problem. I'm having a file called
createjpg.php that creates a jpg-image and returns it as a picture,
with the correct header. This file is included on another php-file like
this:
img src=createjpg.php?id=xyz
What I need the file createjpg.php to do
Well, one of the most common problems encountered here is forms / global
variables. The form on your page is using the post method, so chances
are, you need to reference your variables by the global post array, ie
$_POST['custemail']
$_POST['request_type']
etc.
Instead of $custemail and
--- Guru Geek [EMAIL PROTECTED] wrote:
I was wondering, can you call a php script in the middle
of a html page?
...
Does anyone else know how to use php on a page and yet
keep the .html extension?
Configure your Web server to treat .html files as PHP. This
has been discussed before, so there
Yeah, I was thinking more of the HTML way. With the help you two and some
google searching I see that it will be difficult to pull out specific areas
of a site.
For example ---
The news headlines from yahoo.com
I've got a code that grabs that now. I just need to tweak it a bit to get
the data
Jacob Bolton wrote:
But if I complile apache and don't include options that are needed for the
software, I'll obviously break the software.
So my question is, is there a way to see what options are compiled into
Apache, so that if I recompiled it, I could make sure to include the current
1lt John W. Holmes wrote:
input type='hidden' name='MAX_FILE_SIZE' value='1'
You're saying you're only uploading 10K total... for all of the files. If
the browser is respecting this, and you're trying to upload more than 10K,
then it could not upload anything and you get your error.
If it
--- Victor [EMAIL PROTECTED] wrote:
img src=createjpg.php?id=xyz
...
The problem is that since the file createjpg.php is'nt
loaded in the browser as and ordinary file, it doesnt
recognizes the session variable.
When a browser requests an image, the request is identical
to a request for any
fredagen den 31 januari 2003 kl 18.08 skrev Chris Shiflett:
Instead of trying to tell us what the problem is, just
explain what trouble you are having. We can then tell *you*
what the problem is.
Ok, first I have the function
session_start();
function return_session_raettighet($session =
What is the difference between PHP ISAPI filter and PHP CGI (which one
would be better to install on IIS 5?)
-thanks,
- vic
__
Post your free ad now! http://personals.yahoo.ca
--
PHP General Mailing List
I am working from an example in a book that has the following and is
not explained very well:
# read results of query, then clean up
while ($row = mysql_fetch_row($result))
{
print (TR\n);
for ($i = 0; $i mysql_num_fields ($result); $i++)
{
# escape any special characters and print
I had a browser reporting itself as Opera 7.0 [en] fail recently in submitting
a form.
Specifically, it didn't forward the right value.
Using this html in the form
INPUT TYPE=Radio NAME=detail[1][] VALUE=4
The browser sent the value on instead of the value 4. So, the form couldn't
be
[snip]
I understand most of what is going on here except for this line:
printf (TD%s/TD\n, htmlspecialchars ($row[$i]));
Can someone explain to me what the %s is?
www.php.net/sprintf
sprintf() and printf() have the same type of syntax and all of the %s, etc,
are explained on the sprintf()
Is it possible to pass an group of input boxes of the same name, then get
the values of all the checked boxes or filled out textboxes?
How do I get ALL the IDs passed. Right now it only passes the last ID. Do
I really have to give them all unique names?
For example...
html
head
/head
body
form
Change the name of your checkboxes in your HTML to something like:
name=DeleteIDs[]
This will make it an array, and you can access all the elements like
$_POST['DeleteIDs'][0]
etc.
(This should really be in a FAQ somewhere...)
-- tracy
On 1/31/03 11:17 AM, Mike Potter [EMAIL PROTECTED]
Hey, thx for your speech
In a matter of fact, I have 2 books about PHP and all they say about the
unlink function (I use it in my upload system) is that it is suposed to
force the delete of the temporary file that it is created during the upload
process.
So, i was never thinking that the unlink
On Fri, 31 Jan 2003, Tracy Finifter Rotton wrote:
Change the name of your checkboxes in your HTML to something like:
name=DeleteIDs[]
This will make it an array, and you can access all the elements like
$_POST['DeleteIDs'][0]
etc.
(This should really be in a FAQ somewhere...)
--- Victor [EMAIL PROTECTED] wrote:
I ask this function to return the value of a specifik
session, that is, if the user is logged in the value
is at least 10.
...
this means, that if the user is not logged in, a
copyright © sign will appear over the image.
And this fails
Don't know why
Hi everyone,
Well, after much debugging, turns out it was the isset command that was
causing all the problems. By simply removing that, everything started
working properly.
Thanks to everyone for their input!
Julie Williams
-Original Message-
From: John Nichel [mailto:[EMAIL
Well, after much debugging, turns out it was the isset command that was
causing all the problems. By simply removing that, everything started
working properly.
Thanks to everyone for their input!
IT COMPILES! Ship it!
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
Well, after much debugging, turns out it was the isset command that was
causing all the problems. By simply removing that, everything started
working properly.
Thanks to everyone for their input!
It will also work if you replace all of your code with ? echo hello
world; ?, but is that a
I wrote earlier and got an answer to question, but I just seem to be
stumped. I'm installing PHP 4.3.0 on a FreeBSD server running Apache 2.44
as a module.
I've gone through all of the installation steps verbatim at the PHP site and
a few of the recommended installation sites.
I've done the
Hi all,
I want to delete a record from my table 1, but would like all the data for
that single record passed onto my (archive) table 2 at the same time
Sounds easy!!
Any ideas??
Thanks
DC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
$sql=SELECT TOP(id) FROM divxtemp;
$res=mysql_db_query(DB,$sql) or die (mysql_error());
$reg=mysql_fetch_array($res);
$id=$reg[id]+1;
$sql=INSERT INTO divxtemp (titulo,cds,id) VALUES
('$titulotxt','$cdstxt','$id');
mysql_db_query(DB,$sql) or die (mysql_error());
the
Hello,
I'm looking for a premade PHP script / class or a tutorial on how to
export the structure and data of a few given MySQL tables as seen in
phpMyAdmin.
Any ideeas would be also appreciated.
I searched the major web sites (like hotscripts.com, phpclasses.org) and
this list's archive but
put the data into variables, erase the record and then create a new one in
the new table with the variable values!
Dc [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
I want to delete a record from my table 1, but would like all the data for
that single
In MySQL you use MAX() to retrieve the maximum value from a column.
`SELECT MAX(id) as id FROM divxtemp`
-Kevin
- Original Message -
From: Mr. BuNgL3 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 2:31 PM
Subject: [PHP] doing auto number myself to a primary
I'm pretty sure you're looking in the wrong place. The command you are
looking for is mysqldump and it is part of the mysql command set. With
the right parameters it will create a file that can be used to restore
your entire database to a working state.
I'm not sure how PHPAdmin does it. I use
Hello All:
I am using PHP and MySQL in my application. I need to be able to allow
ONLY authorized users access to some pages in the site. For this I am
creating a session variable ''$valid_user, after the user has
successfully authenticated himself with the Database. The pages that
need to be
Sorry but as convenient as PHP and MySQL are there are some things you just
have to code for yourself. In order to move data from one table to another
you will have to:
1) SELECT the desired fields from the first table
2) extract() them from the results pointer
3) INSERT them into the second
Pervasive login methods such as the one you've devised are the best way to
have a password protected region on your website. However it will only work
on pages that are parsed by PHP. In order to protect plain text or HTML
files they will have to be stored outside of your public directory and
so how about
With INSERT ... SELECT statement you can quickly insert many rows into a table from
one or many tables.
INSERT INTO tblTemp2 (fldID) SELECT tblTemp1.fldOrder_ID FROM tblTemp1 WHERE
tblTemp1.fldOrder_ID 100;
from the mysql manual
Best Wishes
Paul Roberts
[EMAIL PROTECTED]
I knew the mysqldump method. I'm using it frequently. My problem is that
I'm writing this script for a client and I do not have shell access to
his host. Or should I run mysqldump from PHP? I want a general
solution which could be re-usable an all hosts wheter I can access
mysqldump or not.
So, a
hi,
i'm new to this php/mysql thing - i've defected microsoft.
when trying to pull data from a table in mysql, i get the following error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
result resource in C:\cn\test.php on line 24
is this an error from my php page or do
Sam [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i'm new to this php/mysql thing - i've defected microsoft.
when trying to pull data from a table in mysql, i get the following error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
Most probably you have an error in your MySQL query or you are trying to
fetch rows from the connection identifier.
But why don't you post the code which generated this error? How can we
guess what's wrong in it elseway?
Sam wrote:
Warning: mysql_fetch_row(): supplied argument is not a
Dear Sirs,
I want to run a perl script with a command in my php script. I think
include() is not suitable to run perl script. When I use include(), it
brings source of the perl script.
Would you help me which command is very usefull for that purpose.
Best Regards
--
PHP General Mailing
$sql=SELECT TOP(id) FROM divxtemp;
$res=mysql_db_query(DB,$sql) or die (mysql_error());
$reg=mysql_fetch_array($res);
$id=$reg[id]+1;
$sql=INSERT INTO divxtemp (titulo,cds,id) VALUES
('$titulotxt','$cdstxt','$id');
mysql_db_query(DB,$sql) or die
input class='form' type='text' size='3' name='tracknum[]'
value='$tracks'
input class='form' type='text' size='25' name='uartist[]'
value='$uartist'
input class='form' type='text' size='25' name='usong[]' value=''
input type='hidden' name='MAX_FILE_SIZE' value='1'
input
When you do a sql select command, an option is to have the result exported
to a file.
Example:
SELECT name, addr, phone
INTO OUTFILE '/tmp/result.txt'
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY ''
LINE TERMINATED BY '\n'
FROM customer
There are other export options that you can
On Saturday 01 February 2003 06:00, qt wrote:
Dear Sirs,
I want to run a perl script with a command in my php script. I think
include() is not suitable to run perl script. When I use include(), it
brings source of the perl script.
Would you help me which command is very usefull for that
On Saturday 01 February 2003 03:23, Miguel Brás wrote:
Hey, thx for your speech
In a matter of fact, I have 2 books about PHP and all they say about the
unlink function (I use it in my upload system) is that it is suposed to
force the delete of the temporary file that it is created during
On Friday 31 January 2003 23:22, Robert Mena wrote:
Hello again,
another problem with 4.3.0. I have gd support but
after the upgrade my scripts started complaing :
Fatal error: Call to undefined function:
imagecreatefromjpeg()
My ./configure (the same used for ages).
'./configure'
I would like to list 2 possable items in a mysql queary.
SELECT * FROM products WHERE productType = '$productType AND Where
productPublic = 'staff' OR productPublic = 'members' ORDER BY productId DESC
LIMIT 10
I would like to display a list of the same products only if productPublic =
staff or
1 - 100 of 112 matches
Mail list logo