why
'.$table.'
and not
'".$table."'
with what you've got now, I believe you are looking for
.table name.
instead of
table name
and if your table name is only one word, a good practice I'm told, ditch the
' and " marks entirely
and just
Hi,
could you get the error message with mysql_error() and post it here?
Bye,
Bastian
John Taylor-Johnston schrieb:
> http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bready+maria%26quot%3B
> http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bready+maria%26quot%3B
>
> I blame
Hello,
I'd like a user to be able download a file from a file server on my LAN.
Using works ok, but this simply displays
the file in the browser and I want to force the download dialog box to appear.
So now i have , and i want to do something like
fopen("file://server/directory/filename",rb
On Wednesday 04 December 2002 16:21, Dara Dowd wrote:
> Hello,
> I'd like a user to be able download a file from a file server on my LAN.
>
> Using works ok, but this simply
> displays the file in the browser and I want to force the download dialog
> box to appear.
Just ask the users to right-cli
At 07:28 04.12.2002, John Taylor-Johnston said:
[snip]
>Doesn't work - Resembles +ready +maria
[snip]
hmm - how do you get your string "ready maria"?
The '+' signs are usually encoded blanks in a search argument.
-
http://www.millipede.nl/ectemplate
very fast!! , no overhead functions, it does what it needs to do, separate
your code from the html.
take a look
greetings,
"Henry" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi All,
>
> I'm looking for a way to seperate
Hi Steve,
"Steve W" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My company is looking to move our site away from Cold Fusion due to
> the cost. We had talked about JSP, but I would highly prefer PHP.
> After evaluation, with the generic database functions n
I'm working on a system where I take a directory full of PHP files (plus
some #defines, etc.), run them through the C Preprocessor (and m4 later, but
that's to solve a very specific problem), and have the results go into an
output directory that's web-accessible. My intent is to have one set of PH
Thank you a lot! That is exactly what i was looking for.
--
==
Victor J. Espina S.
Gerente de Desarrollo / Software Development Manager
Software de Venezuela, S.A.
Caracas, Venezuela
Email: [EMAIL PROTECTED]
Personal site: http://victorespina.coolfr
Thank you. I'm a VFP programmer (since 1989!) and have some time looking for
a way to move to the Web world. I heard about PHP about 1 year ago, but was
just a few months ago when i finally download it and started to look what is
all about. And what i found was an incredible powerfull language, wi
Link them to a page like this to download the file:
Dara Dowd wrote:
Hello,
I'd like a user to be able download a file from a file server on my LAN.
Using works ok, but this simply displays the file in the browser and I want to force the download dialog box to appear.
So now i have , and
Hi,
Wednesday, December 4, 2002, 3:39:10 PM, you wrote:
>>Is there a minimum field size for using mcrypt?
SY> Boy I feel dumb now. :) My answer was in my post. Mcrypt returns a
SY> string that is usually longer than the original string, since the return has
SY> to be a multiple of the bloc
You need to open http connection to the server from you local php:
http://server/script.php?password=yoursecretstring','r');
fclose($f);
?>
in the script.php check the password and then $_SERVER['REMOTE_ADDR']
eriol wrote:
I was wondering how I could have a local PHP (4.2.3) script running on A
If you mean the score cannot be cheated, the answer is no. You can make
only more obscure.
Leif K-Brooks wrote:
Sorry for the semi-ot post, but this is both a flash and php question,
and I'm not a member of any flash lists, so I decided to post it here.
Anyway, I have a game site with virtual
This is off topic but the word for " is called a quote mark. ;-)
- Original Message -
From: "Bastian Vogt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 2:55 AM
Subject: Re: [PHP] "x" as a multiplier
> Hi,
>
> try $newwidth." x ".$newheight instead.
> It
Instead of register, set it up like a normal variable. Here's an examlple
going by your code:
Page1.
session_start();
$HTTP_SESSION_VARS['step'] = 1;
header("Location: page_A.php");
Page A
session_start();
$HTTP_SESSION_VARS['step'] = 2;
header("Location: page_B.php");
Page B.
sessio
> Like I said, I can run the same SQL in PHPMyAdmin...
Be careful when testing SQL statements containing (double)quotes in
PHPMyAdmin, as I remember, it automatically masks them! Try the same
statement on mysqls commandline.
Good luck
Keith
--
PHP General Mailing List (http://www.php.net/)
To
Can anyone tell me if session variables should be available to scripts that
are included into the main script?
It appears to me that they are not unless I am really missing the point.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2002 06:28
>
> http://ccl.flsh.usherb.ca/print/print.html?search=%26quot%3Bre
> ady+maria%26quot%3B
> http://ccl.flsh.usherb.ca/print/index.html?search=%26quot%3Bre
> ady+maria%26quot%3B
>
> I
If the session is started on any other page befor and the variable is
registered before, the answer should be "yes". AFAIK, php treats the main
script and the included ones as one script.
Maybe the session_start() is missing somewhere?
Regards,
Bastian
Andy Kirk schrieb:
> Can anyone tell me if
Let's begin with a small code snippet:
class A {
function A( $selector ) {
switch( $selector ) {
case 1: $obj = new A_1(); break;
case 2: $obj = new A_2(); break;
...
}
$this = $obj;
}
}
class A_1 {
...
}
class A_2 {
.
As long as session_start() is called BEFORE the included files, I can't see
why not.
Justin
on 05/12/02 12:11 AM, Andy Kirk ([EMAIL PROTECTED]) wrote:
> Can anyone tell me if session variables should be available to scripts that
> are included into the main script?
>
> It appears to me that th
Hi,
I suggest reading from page 12 of this document:
http://www.zend.com/engine2/ZendEngine-2.0.pdf
There's an example which matches with your technique
Regards,
Bastian
Filippo Veneri schrieb:
> Let's begin with a small code snippet:
>
>
>
> class A {
> function A( $selector ) {
>
May be a silly question but are u using a global statement in the include
files, just a thought
on 4/12/02 1:11 pm, Andy Kirk at [EMAIL PROTECTED] wrote:
> Can anyone tell me if session variables should be available to scripts that
> are included into the main script?
>
> It appears to me that
Good point -- are the included files functions, or other stuff??
function myfunc()
{
return $_SESSION['something'];
}
will not work, but:
function myfunc()
{
global $_SESSION;
return $_SESSION['something'];
}
will...
J
on 05/12/02 1:14 AM, Ryan Gibson ([EMAIL PR
I'm looking for an open source kit php for making a freelancer site like:
http://www.scriptlance.com/
The hired can bid for a job posted by employer.
Anyone found one?
Tx in adv for any help, I tried google, sourceforge but didn't find any kit like this.
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: 04 December 2002 14:15
>
> Good point -- are the included files functions, or other stuff??
>
> function myfunc()
> {
> return $_SESSION['something'];
> }
>
> will not work, but:
Oh, yes it will! -
Hi guys I really need to find a way diferent from the functions that come with php
like mcrypt, cause my server do not use these. I would really apreciate some sort of
exemple, since I'm not being able to crack the thing. Since I'm trying not to simply
change the characters from one to another,
Are you sure? I thought $_SESSION was a superglobal.
Marco
On Wed, 2002-12-04 at 09:15, Justin French wrote:
> Good point -- are the included files functions, or other stuff??
>
> function myfunc()
> {
> return $_SESSION['something'];
> }
>
> will not work, but:
>
>
> function my
Hi adi.
You whant this script for free?
a> I'm looking for an open source kit php for making a freelancer site like:
a> http://www.scriptlance.com/
a> The hired can bid for a job posted by employer.
a> Anyone found one?
a> Tx in adv for any help, I tried google, sourceforge but didn't find any
Hi,
$array = ($var1, $var2, $var3, $var4);
for (...)
{
$counter++;
$counter = $counter % 4;
// "%" is the "mod-" operator which returns the rest of the division $counter / 4
// here you use the variable $array[$counter]
}
HTH, Bastian
Rodrigo De Oliveira schrieb:
> Hi g
I Cant use w32API functions ... my PHP is 4.3.0 RC2 over Win2K... and
Apache 2.0.43... plz hlp!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SESSION IS SUPERGLOBAL
Are you sure? I thought $_SESSION was a superglobal.
Marco
On Wed, 2002-12-04 at 09:15, Justin French wrote:
> Good point -- are the included files functions, or other stuff??
>
> function myfunc()
> {
> return $_SESSION['something'];
> }
>
> will
[snip]
> As far as I can see, *none* of these produce an identical query string to
> your hard-coded version -- they *all* have the double-quotes around the
> search string missing!
The double quotes are in $search, that's why. And the stripslashes is there
more than likely because of magic_quotes
I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4).
Everything went ok, but the include() function.
I have problems when including files.
I tried to specify a directory in the php.ini file but it still didn't work.
This is how i have the include line:
include ('file.inc');
I c
Why not set up some kind of public/private key system? Each customer has a
public key that you can encrypt with, send them the data and have them
decrypt it with their private key.
PGP would be the obvious choice, or GnuPG for that matter.
J
Geoff Caplan wrote:
> Hi folks,
>
> Bit OT but
Hello,
PHP 2.4.3 can work with Apache 2.0.x or I need Apache 1.3.x?
Wow, PHP Version 2, that's OLD school.
If you mean 4.2.3, check out the archives for the list. I believe there has
been discussion on the issue and it seems like Apache 2.0.x is really still in
development at this point so it is a "use at your own risk", but they whouls
work, just might not be
If you mean PHP 4.2.3, it'll work with apache 2.0, but not that great.
I'm also using PHP 4.3.0-rc2 with Apache 2.0 and its not any better.
Adam
On Wed, 4 Dec 2002, Vicente Valero wrote:
> Hello,
>
> PHP 2.4.3 can work with Apache 2.0.x or I need Apache 1.3.x?
--
PHP G
Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache
1.3.x??
Thanks for all.
My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
I have the php.ini auto_prepend_file like this:
auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
All work fine with this configuration of the php.ini.
For same reason I must to do not configure php.in
Yes
On Wed, 4 Dec 2002, Vicente Valero wrote:
> Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and Apache
>1.3.x??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thursday 05 December 2002 00:33, Franco Pozzer wrote:
> Thanks for all.
>
> My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
>
> I have the php.ini auto_prepend_file like this:
> auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
>
> All work fine with this configurati
I have a situation where I allow users to upload images, and I store the
names of the images in a database and the images I store in a some
folder on the server, but what I would like to do is to dynamically
create names for the images and dont ever have to worry about if this
name exists and with
On Thursday 05 December 2002 00:48, Davíð Örn Jóhannsson wrote:
> I have a situation where I allow users to upload images, and I store the
> names of the images in a database and the images I store in a some
> folder on the server, but what I would like to do is to dynamically
> create names for t
You need Apache 2.0.40 fo uses with PHP 4.2.3, for use with 2.0.43 use PHP
4.3.0 RC2
> > Excuseme my confussion, I meant PHP 4.2.3. So you suggest me PHP 4.2.3 and
Apache 1.3.x??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
All I know is $_SESSION only works if you have shortcuts on. To test this,
try replacing yoru tags with just
May sound noobish but I'm lost by this whole thread...
- Original Message -
From: "Daniel Masson" <[EMAIL PROTECTED]>
To: "'Justin French'" <[EMAIL PROTECTED]>
Cc: "'Ryan Gibson
Hi,
Wednesday, December 4, 2002, 3:12:41 PM, you wrote:
JTJ> Tom,
JTJ> Anyone,
JTJ> No I'm not looking for a ", I'm trying to pass double quotes into MySQL.
JTJ> Like I said, it works when debugging:
here is a function to clean up your search string, a bit long winded but it
should work :)
func
Hi,
Can someone take a look at this again, please?
http://news.php.net/article.php?group=php.general&article=126934
Your posts so far have proven fruitless. Thanks for trying. :) I do appreciate it.
I will try to answer everyone at the same time.
Someone mentionned it might be a problem with m
What are magic quotes? Will this help me?
http://news.php.net/article.php?group=php.general&article=126934
How is this different from stripslashes.
I have RTF doc :)
http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
Be gentil ::p
--
John Taylor-Johnston
--
Which version of mysql are you using?
--
Ray
On Wed, 2002-12-04 at 10:33, John Taylor-Johnston wrote:
> Hi,
>
> Can someone take a look at this again, please?
>
> http://news.php.net/article.php?group=php.general&article=126934
>
> Your posts so far have proven fruitless. Thanks for trying. :)
One question that comes up is why are you putting the double quotes around the search
string ready maria? Should there be an entry in the database that includes the double
quotes. Right now that is what your sql statement is looking for. So an entry like
this
Are you ready maria?
Would not
Hi,
Thursday, December 5, 2002, 3:39:20 AM, you wrote:
JTJ> What are magic quotes? Will this help me?
JTJ> http://news.php.net/article.php?group=php.general&article=126934
JTJ> How is this different from stripslashes.
JTJ> I have RTF doc :)
JTJ> http://www.php.net/manual/en/function.get-magic-
Hi,
I'm searching for an exact match of "ready maria". So I'm using the double quotes to
demarcate the exact search, as per MySQL rules. I'm not searching for the double
quotes.
John
Van Andel wrote:
> One question that comes up is why are you putting the double quotes around the
>search stri
Ray,
I admit, it is a newer function in MySQL:
http://www.mysql.com/doc/en/Fulltext_Search.html
Since MySQL 3.23.23. All you need is a fulltext index.
I am using, however, MySQL 4.0.5-beta-max-debug, but had the same problem in previous
verisons. I have just never gottent his double quotes thi
Davíð Örn Jóhannsson wrote:
I have a situation where I allow users to upload images, and I store the
names of the images in a database and the images I store in a some
folder on the server, but what I would like to do is to dynamically
create names for the images and dont ever have to worry about
magic_quotes_gpc is simple, it essentially runs
addslashes on all GET, POST and COOKIE data.
That's it.
http://www.php.net/ref.info#ini.magic-quotes-gpc
http://www.php.net/addslashes
http://www.php.net/variables.external
Not sure about your problem, maybe someone else can
help.
Regards,
Reread the docs here (the table):
http://www.php.net/ini_set
You cannot set this directive at runtime. Using .htaccess
is as close as you'll get to that. I see no reason why
using auto_prepend_file here would be better than include()
as this is exactly what include() is for.
Regards,
Philip
Read the docs:
http://www.php.net/install.apache2.php
Apache 2 is EXPERIMENTAL in PHP right now, it may
or may not work. But, the following combination
is known to work:
PHP 4.2.3 along with Apache 2.0.39
But Apache 1.3.x is recommended and considered stable and
will work with any PHP ver
If you want to do relative includes, you must have a . in
your include_path. Maybe this is what you are meaning to
do. Please reread this:
http://www.php.net/configuration.directives.php#ini.include-path
And if you still have problems after adjusting it and restarting
the web server, tell us
Hello all,
Let me first say thank you to Jason Wong and Adam Voigt for their help on
my problem with Multidimensional Arrays!!!
Now I am continuing on with the same script and I need to check for valid
IP address form.
Currently I have:
$ip="255.255.255.0";
if (preg_match ("/[0-9]{1,3}\.[0-9
Couldn't you set the Mime-Type on the server for the correct extenstion?
Leif K-Brooks wrote:
> Link them to a page like this to download the file:
>
> header("Content-type: application/octet-stream");
> //Code to display file
> ?>
>
> Dara Dowd wrote:
>
> >Hello,
> >I'd like a user to be able d
Hi y'all!
Ralf Geschke has set up a german-language mailinglist about
PEAR. I would like it very much, if you add a link to this
mailingslist on the PEAR-website.
The official administration-link for subscribing/unsubscribing
is: http://lists.phpcenter.de/mailman/listinfo/pear
You can find a
Please reread the documentation found here:
http://www.php.net/header
It has a pdf file as an example, modify according
to your needs.
Regards,
Philip
On Wed, 4 Dec 2002, Elkan wrote:
> Couldn't you set the Mime-Type on the server for the correct extenstion?
>
> Leif K-Brooks wrote:
>
>
I am trying to get a script to work. The basic idea is to go into a database
and grab some IP addresses for my LAN. Then for each one ping it using the
exec command 1 time. If it is successful print output in green and if it is
not, print output in red. This is being done on a Win32 system. The pin
> Now I am continuing on with the same script and I need to check for valid
> IP address form.
> Currently I have:
>
> $ip="255.255.255.0";
>
> if (preg_match ("/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/", $ip))
{
> print "Good Ip";
> } else {
> print "Bad Ip";
> }
>
> This does wor
> Thanks for the info... As it turns out, I am just a blithering idiot...
I
> didn't know that I had to create a separate user... As I said, that shows
> my newbieness...
Hey we don't always castrate blithering idiots here. Only those who
pretend not to be one.
> However, this has lead me to
Hello Dev,
> Now I am continuing on with the same script and I need to check for valid
> IP address form.
> Currently I have:
>
> $ip="255.255.255.0";
> if (preg_match ("/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/", $ip))
{
> print "Good Ip";
> } else {
> print "Bad Ip";
> }
>
> Thi
I need to be able to create dirs, chmod and other stuff on the server,
but I get : Warning: MkDir failed (Permission denied), so
Is there any way for me to do something so I can change the user I
attept to execute those functions.
Something like exec(change user, pass).
Thanks David
John,
> I think it'd be hard to verify the range with a regex. ip2long and long2ip
> do not validate. So, an option would be to write your own little function
> that splits the $ip on the period, verifies there are 4 parts, then checks
> that each part is between 1 and 255 inclusive.
My other po
change the directory ownership to the user apache runs as, or make the dir
777.
Adam
On Wed, 4 Dec 2002, [iso-8859-1] Davíð Örn Jóhannsson wrote:
> I need to be able to create dirs, chmod and other stuff on the server,
> but I get : Warning: MkDir failed (Permission denie
This is the output I get and you can see that on the lines where the loss is
0% it still says 100%
1 - Pinging 10.200.26.1 with 32 bytes of data:
2 - Request timed out.
3 - Ping statistics for 10.200.26.1:
4 - Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),
100% loss
5 - Approximate round tr
Well after reading John'ss and DL Neil's replys i came up with 2 functions.
The first is to check to see if the entry is a valid IP address and the
Next is to determine if it is a Private Network IP or not!.
You can see this in action at:
http://www.my-tangled-web.net/codebank/code/ip_check.php
a
On Wed, 4 Dec 2002 20:08:54 +0100
"Tobias Schlitt" <[EMAIL PROTECTED]> wrote:
> Ralf Geschke has set up a german-language mailinglist about
> PEAR. I would like it very much, if you add a link to this
> mailingslist on the PEAR-website.
Yay! Together with the new PEAR column in PHP magazine Ger
On Thursday 05 December 2002 04:08, Christopher J. Crane wrote:
> This is the output I get and you can see that on the lines where the loss
> is 0% it still says 100%
> > if($Results2 = "100% loss") { print " Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* W
I have a repeating function to add. The user enters the number of how many
numbers they want to add, then it repeats a form field. What I want to do is
detect to make sure that the value they enter is a number. If not, don't do
the do while loop and if it is, then go ahead and do it. How can I do t
Markus Wolff <[EMAIL PROTECTED]> artikulierte:
> Yay! Together with the new PEAR column in PHP magazine Germany will
> now be PEARized in no time :-)
That's it! PEARize!!!
> BUT... I think Ralf should really turn off the admin approval for new
> members, or he´ll be flooded :-)
I just told him!
Tom,
Sorry for the delay. I have tried your code.
SELECT id,AU,ST,BT,AT FROM ccl_main WHERE MATCH
(TNum,YR,AU,ST,SD,BT,BC,AT,PL,PR,PG,LG,AUS,KW,GEO,AN,RB,CO) AGAINST ('"ready maria" '
IN BOOLEAN MODE)
ORDER BY id asc
Without the space, as with addslashes, MySQL won't compute the sql.
This is th
If you are getting a number from a user via a form you can use
javascript to verify that the user inputed a number...
search google -> validating forms that should give you some info.
You could also verify that the data is a number by is_numeric or
is_int...
I think that when the data is POSTed
Oh man...it's always the simple things you over look...thank you.
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thursday 05 December 2002 04:08, Christopher J. Crane wrote:
> > This is the output I get and you can see that on the lines where the
Sorry for the uncontrolable emaling to the list but I'm in rather a stump.
You may be hearing a lot from me over the next few days too.
Anyway, I mentioned before my form with the addition that loops to the
number of numbers the user wants to add. Now to the part of the actual
addition, how could
What type is $_POST['vars']? I think that it is a string...you might
have to convert it to an integer...
if( is_numeric( $_POST['vars'] ) )
{
$vars = (int)$_POST['vars'];
}
else
{
echo "Error: \$_POST['vars'] is not an integer.";
}
On Wed, 2002-12-04 at 14:26, Stephen wrote:
> So
I have a repeating function to add. The user enters the number of how many
numbers they want to add, then it repeats a form field. What I want to do is
detect to make sure that the value they enter is a number. If not, don't do
the do while loop and if it is, then go ahead and do it. How can I do t
Hi,
I have some database fields I want to select and email.
I have lines like --
$result = mysql_query("SELECT * FROM adopt_main order by idform desc limit 1");
while( $row = mysql_fetch_array ($result))
echo "".$row["first"].",";
There are quite a few of these paragraphs in
On Thursday 05 December 2002 05:58, Malcolm Brownell wrote:
> Hi,
>
> I have some database fields I want to select and email.
>
> I have lines like --
>
> $result = mysql_query("SELECT * FROM adopt_main order by idform desc limit
> 1"); while( $row = mysql_fetch_array ($result))
> echo "".
Hi everyone.
I have certain links for document navigation with a query string where one of the
values doesn't fill, so the links don't work.
The document is a law navigated with pieces of text taken from an array, where the key
is a 12-digit string. The key's first three figures identify each l
Hello,
I am trying to make a script that looks something like:
for ($i=0; $i<=12; $i++)
{
echo "";
echo "";
}
Then I am posting those to another page, and trying to get the data out
for ($i=0; $i<=12; $i++)
{
echo $_POST['$i'];
}
And it doesn't work. Any thoughts on if something li
--- Brad Bonkoski <[EMAIL PROTECTED]> wrote:
> for ($i=0; $i<=12; $i++)
> {
> echo "";
> echo "";
> }
You only want one tag.
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The problem is right here:
for ($i=0; $i<=12; $i++)
{
echo $_POST['$i'];
}
Single quotes cause variables to not be interpolated. IE:
$i = 5;
echo $i;
echo "$i";
echo '$i';
?>
this prints out:
55$i
See? Change that line to
echo $_POST[$i];
and it should work just fine.
Regards,
--Joseph
Hi,
I'm having a problem uploading files greater than 2mb, but I believe the
problem is related to php.ini.
UPLOAD_MAX_FILESIZE in my submit form is set to 1000. Also, I set
upload_max_filesize = 1000 in php.ini. After changing php.ini, I
stopped and then started httpd. I thought this
Are you sure you're looking at the right php.ini? Try calling phpinfo()
and check where PHP is looking for the ini file.
Marco
--
php|architect - The magazine for PHP Professionals
The monthly worldwide magazine dedicated to PHP programmers
Come visit us at http://www.phparch.com!
Hello, I am the creator of eNetwizard Content Management Server, an open
source content management system using the LAMP suite. I am getting
ready for its first major release and have come across some problems
that I need to address first... I'm not really sure where to start this
is such a *hug
Hi,
Thursday, December 5, 2002, 7:11:20 AM, you wrote:
JTJ> Tom,
JTJ> Sorry for the delay. I have tried your code.
JTJ> SELECT id,AU,ST,BT,AT FROM ccl_main WHERE MATCH
JTJ> (TNum,YR,AU,ST,SD,BT,BC,AT,PL,PR,PG,LG,AUS,KW,GEO,AN,RB,CO) AGAINST ('"ready
maria" ' IN BOOLEAN MODE)
JTJ> ORDER BY id asc
well,
a) use a table in the DB with the primary key (id) as an auto-increment
column. 1, 2, 3 etc. Use this ID as the name of the file 1.jpg, 2.gif, and
perhaps store the filetype / extension as well, so that you know what
filename to look for in the folder.
b) something as simple as file_exists
Oops I screwed up :)
Justin
on 05/12/02 1:28 AM, Marco Tabini ([EMAIL PROTECTED]) wrote:
> Are you sure? I thought $_SESSION was a superglobal.
>
>
> Marco
>
> On Wed, 2002-12-04 at 09:15, Justin French wrote:
>> Good point -- are the included files functions, or other stuff??
>>
>> fun
Haven't you already posted this?
J
on 05/12/02 10:20 AM, Robert Samuel White ([EMAIL PROTECTED]) wrote:
>
> Hello, I am the creator of eNetwizard Content Management Server, an open
> source content management system using the LAMP suite. I am getting
> ready for its first major release and ha
Yep,
Mine is in /etc/httpd/php.ini and that's what phpinfo gives me
Roger
-Original Message-
From: Marco Tabini [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 3:19 PM
To: Roger Lewis
Cc: PHP-General
Subject: Re: [PHP] Max File Size
Are you sure you're looking at the right
Hi,
I have de following code for example
If I call the funcion test(), echo print nothing what's is going on ?
[]´s
[EMAIL PROTECTED]
__ Victor
Halla ICQ#: 114575440 Current ICQ status: + More ways to contact me
Hi,
Thursday, December 5, 2002, 9:15:53 AM, you wrote:
VH> Hi,
VH> I have de following code for example
VH> $username = "victor";
VH> function test() {
VH> echo $username;
VH> }
?>>
VH> If I call the funcion test(), echo print nothing what's is going on ?
VH> []´s
VH> [EMAIL PRO
I'm displaying a date that I get from a informix database query - the date
format is as follows;
2002-12-04 23:21:49
I want it to display as 12/4/2002 11:21:49 PM
Jeff
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 04 December 2002
1 - 100 of 153 matches
Mail list logo