hi,
try:
i'd say it's even better than qq ;)
regards,
nuno
Carsten Gehling wrote:
> From: "Michael Hall" <[EMAIL PROTECTED]>
> Sent: Monday, March 26, 2001 9:36 PM
>
>
>
>> Hi. I'm a converted Perl guy. While I generally like PHP better than
>
> Perl,
>
>> I do severely miss the Pe
On Tue, 27 Mar 2001 12:59, Jack Dempsey wrote:
> hi all,
>
> I was thinking about some of the built-in functsions (like array_sort)
> and was wondering how I could find out what the code is behind them.
> ie, is it an insertion sort? quicksort? etc...do i have to look into
> CVS for that? thanks!
> > 3. At the time of upload, it is possible to specify a list of
> > users who can "view" and "modify" the file. Currently I am storing
> > this list as a whitespace-separated list in a mySQL TEXT column.
> >
> > Column "view" data: 3 11 1
> >
> > At the time of displaying the list, I first SELE
Yep, I had the same problem yesterday with the mail.
Try to just put a semicolon ";" in front of the sendmail path
directive :). It worked with mine! It seems that it wants to find the
path itself.
Daniel BI
>Hi ,
>I'm at a lossI've searched throught the knowledgebase, archives, docs,
>etc b
Hi,
What are the pros and cons to using PHP as a scripting language like Perl or
Python?
After a couple of years using this excellent language for dynamic web pages
(its first purpose), I'm currently starting to program shell scripts with
PHP. Doing so I encountered some minor problems I turned
Hello
I am trying to figure out how long a session survives, if the user does
nothing in his or her browser, to update the session. I'm creating a rather
comprehensive signup-process, and I need to know how much time a user can
spend on each page, before the session expires.
Looking through php.
You need the jpeg support. Shortly, do this:
(I will use my version names, so you can easyly
find something, if you find newer ones, it's your bussiness)
1. search the internet for:
jpegsrc.v6b.tar.gz
gd-1.8.3.tar.gz
apache_1.3.14.tar.gz
php-4.0.4.tar.gz
2. unzip all files in a tmp directory (
It.s me, again :)
There is trick to find out if php will be compiled well
(I mean with jpeg support):
when issuing the ./configure command in php,
after putting all the options, put something like this:
./configure ... > cf.log
(this is a redirection comand to write all output info
to the file n
how can I connect to a remote-database from
my local dos-window?
I use the following without success:
mysql -u XXX -h mysql-XXX -p -D
Jochen Kaechelin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
chregu Tue Mar 27 01:53:00 2001 EDT
Added files:
/php4/pear/Experimental/XML fo2pdf.php
Log:
a class for rendering (xsl-)formatting objects files into a pdf.
Index: php4/pear/Experimental/XML/fo2pdf.php
+++ php4/pear/Experimental/XML/fo2pdf.php
http://w
romolo Tue Mar 27 02:22:32 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/pgsql pgsql.c
Log:
pg_close was closing connection twice, pls insert in 4_0_5
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.93 php4/ext/pgsql/pgsql.c:1.
sniper Tue Mar 27 03:34:51 2001 EDT
Modified files:
/php4/main php_variables.c
Log:
Fix the arg_separator behaviour. Only & or ; is allowed as separators so no need to
use the ini setting here.
Index: php4/main/php_variables.c
diff -u php4/main/php_variables
hi,
$myrow = mysql_fetch_array($result); // erase this line
while ($myrow = mysql_fetch_array($result)) {
greetings
andreas
- Original Message -
From: "Jon Valvatne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 1:28 PM
Su
Hello all,
I am working on a script which locates a file on the system and then tells
the browser to pop open the "Save As" dialog box for download. In order to
do this, I am using the following code:
$filename = $dataDir . $id . ".dat";
header ("Content-Type: application/octet-stream");
header
Sorry for the repeat posting, but this was send a few weeks ago and we had
no response from the list - perhaps new subscribers to the list will be
interested.
We are a successful web agency based in the UK and are looking for talented
UK-based html and technical developers.
Our company 5e, has
Okay
ob_start ("ob_gzhandler") is a very cool thing to use. At least when
you write _to much_ code like I do. And it works perfectly
most of the time, i.e.
I've got this problem:
My pages start with the gzhandler (see above) to decrease the amount
of data that should be transferred
On Sat, Mar 24, 2001 at 09:06:36PM -0500, Mauricio Junqueira wrote:
> Hi,
> I believe I am missing some configuration regarding my apache becouse
> I can only get php to work inside a file .php.
> If my page extension is .html, nothing happend with the php script; but
> just changing from .html
All,
I'm pleased to announce two initiatives at Great Bridge aimed at
improving the integration of PostgreSQL and PHP, and some exciting
stuff that we're doing as a company to get behind PHP more fully.
First, Great Bridge is partnering with Zend Technologies to include
a fully-integrated instal
Hi folks
I am trying to create a constant name dynamically and then get at the
value.
// We set up the constant
define( CONSTANT_1 , "Some value" ) ;
// Later we try to use it dynamically ...
$constant_number = 1 ;
$constant_name = ( "CONSTANT_" . $constant_number ) ;
// We try to assign the c
Hi ppl,
I have been thinking of using PHP to make a ToDo/task list type of
application. I am looking for something different from the usual
Personal Information Managers (PIMs) - they are oriented more towards
appointments than tasks.
Does anybody know of any ongoing (preferably open source) pro
You need another level of indirection. Try:
$constant_value = $$constant_name ;
-Original Message-
From: Geoff Caplan [mailto:[EMAIL PROTECTED]]
Sent: 27 March 2001 14:19
To: PHP General List
Subject: [PHP] Dynamic constant names
Hi folks
I am trying to create a constant name dynamic
I think Sourceforge uses something like what you are talking about.
Check it out :
http://www.sourceforge.net
- Original Message -
From: "Harshdeep S Jawanda" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 9:29 PM
Subject: [PHP] A ToDo/ task li
I've check the other articles and came up with the following:
1- take out the extension, html or php, inside the links in way
that I can change from .html to .php and vice-versa without worrie
to change all links.
2- and to add the .html to httpd.conf in order to all files to be parsed.
Not too b
Hi folks
I had 2 suggestions from the list:
1) indirection - $constant_value = $$constant_name ;
I had already tried this, but couldn't get it to work. Unless I am
missing something it just gives an "Undefined Variable" error.
2) eval("\$constant_value = $constant_name;") ;
This does work. Th
sniper Tue Mar 27 06:03:03 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/main php_variables.c
Log:
MFH
Index: php4/main/php_variables.c
diff -u php4/main/php_variables.c:1.21 php4/main/php_variables.c:1.21.2.1
--- php4/main/php_variables.c:1.21 Sun F
Hi,
is there any comapany (like freeservers.com and geocities.com)give a
free web space and supporting PHP/MySQL.
Thanks
--
Best Regards
Alaiddin Tayeh;
Webmaster
Palestinian Internet Services
WWW.P-I-S.COM
Tel: +97272843197
Fax: +97272843377
--
PHP General Mailing List (http://www.php.net/)
T
Hi,
The adress is:
www.f2s.com
Rosen Marinov
"Alaiddin Tayeh" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> is there any comapany (like freeservers.com and geocities.com)give a
> free web space and supporting PHP/MySQL.
> Thanks
> --
> Best Regards
>
>Does anybody know of any ongoing (preferably open source) projects in
>PHP of a similar nature?
Seen something on www.php.net just click links and projects.
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
kalowskyTue Mar 27 06:17:53 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
Fix for Bug #9272, as submitted by marc boeren ([EMAIL PROTECTED]).
Applied by me, due to apparently a lack of cvs access to ext/odbc for him.
Index: php4/e
Warning: Undefined index: make in C:\PHP\Test_Scripts\testdb3.php on line 16
Warning: Undefined variable: user in C:\PHP\Test_Scripts\testdb3.php on line
5
etc.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
chregu Tue Mar 27 06:35:22 2001 EDT
Modified files:
/php4/pear/Experimental/XML fo2pdf.php
Log:
corrected Usage example
Index: php4/pear/Experimental/XML/fo2pdf.php
diff -u php4/pear/Experimental/XML/fo2pdf.php:1.1
php4/pear/Experimental/XML/fo2pdf.php:1.2
In order to use URLs without ? and &, there has to be some re-configuration
in Apache, correct? So somebody who didn't have access to httpd.conf
couldn't use this methodology? Or if this is completely incorrect, where
can I find more info on implementing it strictly in PHP?
Joseph E. Sheble
thies Tue Mar 27 06:55:03 2001 EDT
Modified files:
/php4/ext/oracleoracle.c
Log:
fixed newly introduced crash in ora_bind
Index: php4/ext/oracle/oracle.c
diff -u php4/ext/oracle/oracle.c:1.60 php4/ext/oracle/oracle.c:1.61
--- php4/ext/oracle/oracle.c:1
I am trying to find a file editor / file management tool written in php
something like the file manager used by the old geocities now yahoo public
web servers. ANyone seen something like this, or done something like this??
Chris Moewes
http://phpusergroups.com
--
PHP General Mailing List (ht
In perl the code to extract browser info is:
$length = $ENV{'HTTP_USER_AGENT'};
What is the equivalent code in PHP.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admi
thies Tue Mar 27 07:04:21 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/oracleoracle.c
Log:
MFH
Index: php4/ext/oracle/oracle.c
diff -u php4/ext/oracle/oracle.c:1.60 php4/ext/oracle/oracle.c:1.60.2.1
--- php4/ext/oracle/oracle.c:1.60 Sun
On 25 Mar 2001 20:25:47 -0800 impersonator of
[EMAIL PROTECTED] (David Robley) planted &I saw in
php.general:
>On Mon, 26 Mar 2001 13:20, Erick Papadakis wrote:
>> hi david,
>>
>> thanks for the note. ok, here is what i want to do. i
>> want my users to upload WORD, XLS, PPT and PDF files.
>> whe
joostersTue Mar 27 07:16:34 2001 EDT
Modified files:
/php4/sapi/fastcgi fastcgi.c
Log:
Changed header handling; before, we were somehow losing
Content-Type: text/html
Index: php4/sapi/fastcgi/fastcgi.c
diff -u php4/sapi/fastcgi/fastcgi.c:1.2 php4/
print $HTTP_USER_AGENT; // the variable is already in the global scope.
also $ua = getenv('HTTP_USER_AGENT');
Most variables are automatically made a part of the environment in a PHP
script. It's one of the ways PHP makes scripting easier.
The online manual is invaluable for this type of info.
when i try printing
print $HTTP_USER_AGENT;
I get the error message Undefined variable: HTTP_USER_AGENT
have i missed a declaration of some sort or something else?
thanks
""Matt Friedman"" <[EMAIL PROTECTED]> wrote in message
002701c0b6d8$88abb740$03284d18@mattq3h8budilr">news:002701c0b6d8$8
kalowskyTue Mar 27 07:46:27 2001 EDT
Modified files:
/php4/ext/odbc php_odbc.c
Log:
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied
it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed
hi anyangwe,
either define the variables or do what most people do and turn down error
reporting. see :
Reporting Errors:
-
http://www.php.net/manual/en/phpdevel-errors.php
pay special
I, i'm a little new to PHP.
I'm sorry if this question has already be answerd, but i have i have
searched the list, and i have not found any arcticle about it.
My question is:
How do i delete a message from a POP server, using PHP functions?
I have tried, imap_setflag_full, imap_delete, bu
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Geoff Caplan) wrote:
> I am trying to create a constant name dynamically and then get at the
> value.
>
> // We set up the constant
> define( CONSTANT_1 , "Some value" ) ;
>
> // Later we try to use it dynamically ...
> $constant_number = 1 ;
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Joe Sheble aka Wizaerd) wrote:
> In order to use URLs without ? and &, there has to be some re-configuration
> in Apache, correct? So somebody who didn't have access to httpd.conf
> couldn't use this methodology? Or if this is completely inc
Hi
I need the code, for protecting the dir by password.
Thanks
Marisol Díaz E.
joostersTue Mar 27 08:29:45 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/sapi/fastcgi fastcgi.c
Log:
Changed header handling; before, we were somehow losing
Content-Type: text/html
Index: php4/sapi/fastcgi/fastcgi.c
diff -u php4/sapi/fastcgi/
Don't you mean..
http://httpd.apache.org/docs/mod/mod_auth.html
or do you want to do this with php headers?
-Original Message-
From: Marisol Díaz E. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 9:03 AM
To: PHP General
Subject: [PHP] password
Hi
I need the code, for protec
Check out this post :
http://marc.theaimsgroup.com/?l=php-general&m=98555149708325
The first two tutorials should help. Btw, no reconfigurations are
required.
Regards,
Philip
On Tue, 27 Mar 2001, Joe Sheble aka Wizaerd wrote:
> In order to use URLs without ? and &, there has to be some r
Dear Friends
Before all, Thank you Joe, the ar package was the solution and was located
at the same place that you told me.
Now ,after making and installing all, PHP doesn´t work. I followed this
process:
./configure --with-mysql --with-apxs=/usr/apache/bin/apxs
make
make install
I have had a l
Yes and no. session.gc_maxlifetime is the right setting, and this means the
session will last *at least* this long. The setting in
session.gc_probability also has an effect. This gives the percentage of page
hits on which gc is launched. For example, if session.gc_probability = 1,
then on one out
I am writing a script, actually modifying PhPSysInfo to include the top
processes used on a machine. So far, no matter what I do, I can only get
it to work via the command line. I get a blank screen when trying it via
the browser:
Tried this:
I had a form with just with one button, the action is a PHP file. And when
I hit "enter" the button (submit) form action was done.
Then I put other button (change) on this form, and now when I hit enter,
beside the
"pressed" button is the second one (I want that when I hit "enter" the
submit bu
nobody has execute permission on ps?
Probably quite the opposite, your webserver user doesn't have execute
permission on ps, so there is no execution or return value.
"Steven Shepherd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am writing a script, actu
derick Tue Mar 27 09:21:45 2001 EDT
Modified files:
/php4/ext/standard formatted_print.c
Log:
- 'Fix' for bug 10002
Index: php4/ext/standard/formatted_print.c
diff -u php4/ext/standard/formatted_print.c:1.28
php4/ext/standard/formatted_print.c:1.29
--- ph
thanx, I'll be looking these over vigarously...
At 05:11 PM 3/27/01 +, Philip Olson wrote:
>Check out this post :
>
> http://marc.theaimsgroup.com/?l=php-general&m=98555149708325
>
>The first two tutorials should help. Btw, no reconfigurations are
>required.
>
>Regards,
>
>Philip
>
>On Tue
Hi,
i'm sorry but I don't quite get what you mean. Which button is
pressed. or post the code.
Johannes
"Augusto Cesar Castoldi" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
Pine.GSO.4.10.10103271417160.12546-10@venus">news:Pine.GSO.4.10.10103271417160.12546-10@venus...
> I had a form with
Bad example (changed to ps and it works actually..but i dont want 'ps', I
want 'top'). Ran top using su to the user 'www' from the command line and
was able to run it fine.
On Tue, 27 Mar 2001, Joe Brown wrote:
> Date: Tue, 27 Mar 2001 12:35:08 -0500
> From: Joe Brown <[EMAIL PROTECTED]>
> To:
Hello, this is my first attempt to query and print a result coming from a
database, in this case interbase6.
I got the following error: InterBase: Dynamic SQL Error SQL error code =
-504 Cursor unknown in maingeral.htm on line 8
Here's the code:
alert('" . ibase_errmsg() .
"'); ");
$st
Hi:
I am trying to set up a simple script that will verify that all the blanks
in a form have been filled out and then submit that to mySQL. If the form
has not been completely filled out I want it to redirect them back to the
original form. I know that the mySQL part of the script works, but
derick Tue Mar 27 09:24:01 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/standard formatted_print.c
Log:
- MFH (Fix for bug 10002)
Index: php4/ext/standard/formatted_print.c
diff -u php4/ext/standard/formatted_print.c:1.28
php4/ext/standard/format
This code is checking if $fname and $lname are equal to a single blank
character. Is this what you want? My guess is you really want
if(($fname == "") || ($lname == ""))
Another way to write this is
if( (!$fname) || (!$lname) )
Kirk
> -Original Message-
> From: Louis
Hi,
if ($name == " ") { checks for a space in $name.
"empty" is either if (§name == "") without a free space
between "" or you could do it with empty($mane)
if (empty($name)) is true if it is empty (who would
have thought this?)
Johannes
"Louis Brooks" <[EMAIL PROTECTED]> schrieb im Newsbe
Since ibase_query returns true if the query succeeds I've tried this, but
with the same problem with ibase_fetch_row:
$stmt = "select count(*) from soldcars";
if ($query= ibase_query($stmt) or die ("alert('" . ibase_errmsg() . "'); ")){
$result = ibase_fetch_row($query);
$
Heyzz Dude!
I've got a problem with dbase, do you think you can help me?
http://www.ripwares.com/~np2k/norway-warez/admin/create.php
here's the script:
-
Error!";
?>
---
try this, you'll get:
Fatal error: Call to undefined function: dbase_create() in
/h
Hi Augusto,
Submit buttons aren't that special, they just send a name=value pair.
Doing something like this :
If the following is pressed, if ($action == 'edit') will return true.
If the following is pressed, if ($action == 'new') will return true.
See? Regarding
Well, that's a whole different ballpark.
do man top see if it has a batch mode option
With the top on my linux box:
$ top -b
"Steven Shepherd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Bad example (changed to ps and it works actually..but i dont want 'p
Hello All,
Apachecon is next week and I am preparing to request a BOF (Birds Of A
Feather) for the PHP community. It will be an hour long session that is
basically an open forum for users of PHP to meet and talk about PHP.
What I would like from all you out there is a list of possible topics to
Just a note to say that I have written a couple of functions, to calculate to the
standard deviation of a given Integer array and to calculate a 'Weighted Mean'.
If anybody is interested just let me know,
Thanks
Robert
php-general Digest 27 Mar 2001 19:05:15 - Issue 592
Topics (messages 45701 through 45761):
File upload and database optimization questions
45701 by: Vikram Vaswani
45702 by: Jason Murray
45708 by: Jason Lotito
submit form witout clilck submit button
45703 by
hello,
you could "start from the end" :)
show the nice page saying "THANKS!!" or something and this page will
call the download script itself with "meta refresh=..." in the
...can't remember the meta refresh syntax right now :)
hope it works,
Nuno
Vikram Vaswani wrote:
> Hello all,
>
> I
On Tue, 27 Mar 2001 17:31:25 +0100, Costas ([EMAIL PROTECTED])
wrote:
>when i try printing
>
>print $HTTP_USER_AGENT;
>
>I get the error message Undefined variable: HTTP_USER_AGENT
>
>have i missed a declaration of some sort or something else?
>
>thanks
Are you doing this from inside a function
Ahh, that's the cause. Here's how to duplicate the error :-)
error_reporting(E_NOTICE);
foo();
function foo()
{
echo $HTTP_USER_AGENT;
}
As Mark mentioned, mind your scope. Regarding the error, I just posted
some information on this perhaps it'll be of some use :
http://mar
H-
Another solution might be to use javascript to check the fields before
the page is even submitted to make sure they put "something" in the
first and last name fields.
Unfortunately I'm not a javascript person but I've seen it done so much
I'm sure you could find examples on the web or via a
Thanks everyone for all the responses.
I think I'll look into sessions in the future. Meanwhile I'll have to see
what others come up with.
Thanks,
Martin S.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I have a listing of photos in a table as follows (not actual column names):
Image Name, Image Width, Image Height, Band Name, Venue, City, State, Date
I would like to have a list of the different bands with photos in the
archive. There may be 120 photos of any one band, but I would like to
sel
I'm sorry to jump in mid-stream here (I've been offline for a while), but
was
$constant_value=${constant_name};
suggested?
eval's spook me, so I would prefer this solution over the working
suggestion you received.
This works for me on 4.0.4:
$test_name="ta_dah";
define("constant_name","test_nam
> -Original Message-
> From: Rami Krayem [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie - MySQL Question - Finding Unique Names in Column
>
>
> I have a listing of photos in a table as follows (not actual
> column names
Why can't I do $myfile[$count]_type?!
What schould I do instead?
-
Fredrik A. Takle
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I think you mean distict, as in
$query = "SELECT DISTINCT band_name FROM table WHERE ...";
Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Rami Krayem <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Hello,
Is there a way to get spacing between
$row["City"],$row["State"] in the html output?
I've tried echo "$row["City"], nbsp; $row["State"]";
and a bunch of other things and get Parse error: parse
error, expecting `STRING' or `NUM_STRING' or `'$'' .
The way I want the output is as follows:
Du
Thanks for everyone's response. I am still not able to get the
if(($fname="")) {
statement to work even with the suggestions everyone made so I am beginning
to wonder if it is a problem with the server. (It is php3 on an Apache
server. ) Any other suggestions would be greatly appreciated.
Tha
Is there a way to have an ordinary href link call some javascript and say "are
you sure blah blah blah?" and then once you hit Ok it calls the same php file
which then does all the database stuff?
I know I can do this just by creating another PHP file and having the link
call that, but it seems l
On Tue, Mar 27, 2001 at 09:56:01PM +0200, FredrikAT wrote:
> Why can't I do $myfile[$count]_type?!
> What schould I do instead?
${$myfile[$count] . '_type'}
There are some examples in the user comments in this manual page:
http://www.php.net/manual/en/language.variables.variable.php
Matt
--
Brad,
Thanks for the response. Either method they both work via command
line. Neither of them work in the browser.
On Tue, 27 Mar 2001, Brad S. Jackson wrote:
>
> Try $top = `top n 1 b | head -8 | sed 's/[\$|^M]//g'`;
>
> In my experience, you can't use | in exec calls, you have to use the
Hi Mike,
Try this little test :
'Seattle', 'state' => 'Washington');
// Can do in PHP4 :
print "{$row['city']} {$row['state']}";
// Can do anytime :
print $row['city'] . ' ' . $row['state'];
?>
Not sure when "{$array['index']}" came about exactly but iirc it's not
Hi folks
I mailed this to the list some time ago, but it seems to have got
"lost" so here is is again...
I had 2 suggestions from the list:
1) indirection - $constant_value = $$constant_name ;
I had already tried this, but couldn't get it to work. Unless I am
missing something it just gives an
H-
Really, that's strange.
Try printing out your variables and seeing what is actually being
passed.
print "FNAME:$fname:\n";
With the : : colons surrounding your variable you can see what if
anything is actually in $fname.
Also it might have been a typo on your part but be sure to check f
Hi Louis,
you cuold try it with if (empty($fname)) { redirect...
just check again that your form is ok.
Johannes
"Louis Brooks" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for everyone's response. I am still not able to get the
>
> if(($fname
On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael
Champagne ([EMAIL PROTECTED]) wrote:
>Is there a way to have an ordinary href link call some javascript
>and say "are
>you sure blah blah blah?" and then once you hit Ok it calls the same
>php file
>which then does all the databas
Does anyone know of a method to read a remote password protected file
without actually downloading it locally and then reading?
- Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
Hello,
i have this code:
while ($row = mysql_fetch_array($results)) {
$tmp = get_item_reorder_priority($row["item_sku"]);
$list[$r]["priority"] = $tmp[0];
$list[$r]["sku"] = $row["item_sku"];
$r++;
}
$list = array_multisort($list["priority"], SORT_NUMERIC, SORT_DESC);
a
Hi,
i'm not that much into mail functions but my manual tells
me that impa_delete selects a message to be deleted.
imp_expunge delets all selected messages.
look into the correct syntax
Johannes
"Miguel Carvalho" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECT
Thanks for all the help. I finally got it to work. I ended up using a bunch
of if ($lname=="") { statements instead of if (($lname=="") ||
($fname=="")) { and that seems to be working. I still can't get the
header() statement to work. So I just cheated and put in some text telling
the user to
sniper Tue Mar 27 12:34:51 2001 EDT
Modified files:
/php4 acinclude.m4 configure.in
/php4/ext/aspellconfig.m4
/php4/ext/bz2 config.m4
/php4/ext/ccvs config.m4
/php4/ext/cpdf config.m4
/php4/ext/crack config.m4
Hi,
for the haeder just make sure that there is NO output
whatsoever before the header-call. even if line 1 of your
script is empty before the schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for all the help. I finally got it to work. I ended up using a
bunch
> of if
But then how would you process it in the same file? If I'm calling it from
myfile and my link is to myfile then how does it know that it's already been
clicked?
Thanks,
Mike
> On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael
> Champagne ([EMAIL PROTECTED]) wrote:
> >Is there
On Tue, 27 Mar 2001 15:50:44 -0600 (Central Standard Time), Michael
Champagne ([EMAIL PROTECTED]) wrote:
>But then how would you process it in the same file? If I'm calling
>it from
>myfile and my link is to myfile then how does it know that it's
>already been
>clicked?
well you can make the url
Just check the value of the submit variable.
If it's populated, then the form has been clicked.
Best regards,
Andrew
---
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
On 3/27/01 4:
"Marisol Díaz E." <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Hi
>
> I need the code, for protecting the dir by password.
take a look at htaccess files
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
1 - 100 of 169 matches
Mail list logo