>
> If you want to stick with PHP, you're better off using an ssh key, so that
> you're not prompted for the password.
>
Ahh, okay thanks. If anyone can point me to some useful docs, I'd appreciate
it. I've been looking on google but not really sure what's right and what's
not.
Thanks,
Steve
--
I'm trying to write something to run as a cron job that will perform an sftp
command and then run a batch file. I was trying to use:
system("sftp [EMAIL PROTECTED]")
But that stalls and waits for a password before continuing with the script.
Any ideas on how to pass the password when it's prompte
After cycling through a result set using mysql_fetch_assoc, I need to cycle
through the result set again. However, it's acting like it's maybe already
at the end of the result set and can't be looped again. I've looked for
something simple, like a result resetter, but I seem to be missing
something
Take a look at www.oscommerce.com
> Any one can suggest me a php template (or modules) of a
> web-based inventory control software including a web-store.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you have a business account there, you can use the PayPal API which does
return values to you when the transaction is complete. Take a read through
the PayPal docs, it's pretty well laid out there.
"Mike R" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Does anyone know if it i
I generally do all my program logic first then go to HTML. Once I start
HTML, I drop in the PHP stuff where I need it. I think, but am not sure,
that it also cuts down on processing time not having to parse out echo tags.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
I use two div tags, one encapsulating the page contents and one that holds
the image. PHP turns them on or off by echoing a javascript command at the
appropriate time when the data is compiled and ready to show.
- Original Message -
From: "Pierre" <[EMAIL PROTECTED]>
To: "'Egil Berntsen'"
Or if you wanted it to be pretty...
define('MY_DATABASE_USER', 'user');
define('MY_DATABASE_PASS', 'pass');
mysql_connect('localhost',MY_DATABASE_USER,MY_DATABASE_PASS);
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Michael Collins" <[EMAIL PROTECTED]>
Cc: <[EMAIL
There used to be a way that stripped something from a PHP binary that
drastically reduced the size of the cgi file. For the life of me, I can't
remember and can't find it on google anywhere. Anyone know what it is?
TIA,
Steve
People with 10+ line sig's shouldn't talk about trimming posts... ;-)
(or did I misunderstand what you meant about trimming posts? lol)
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 9:36 AM
Subject: Re: [PHP] R: [PHP] H
as $index => $element) {
> $InputString = "$element";
> echo "$InputString";
>}
> ?>
>
>
>
> - Original Message -
> From: "Steve Douville" <[EMAIL PROTECTED]>
> To: "Phpu&qu
Can you give us the code from to ?
- Original Message -
From: "Phpu" <[EMAIL PROTECTED]>
To: "Steve Douville" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 9:14 AM
Subject: Re: [PHP] Problems with arrays
> I want the
What are you outputting? html, text, email body...??
- Original Message -
From: "Phpu" <[EMAIL PROTECTED]>
To: "Oliver Hankeln" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 9:06 AM
Subject: Re: [PHP] Problems with arrays
> I've tried this but it is not workin
I've forgotten how to assign something like this...
$someStr = EOF>>>"
bunch of raw non-echo'd html
"
EOF>>>;
But can't seem to get the right syntax. Tried looking in the manual, but
don't even know what I'm looking for!
TIA,
Steve
Taking the die() out may have helped your script continue but now you won't
know if there are sql problems which would cause you to not get any data. I
typically trap the error in a string variable or an array, depending on the
application, and print that out in a nice way to see why my query didn'
Did you try to just echo the javascript statements instead of trying to use
the header? Should have the same effect.
- Original Message -
From: "Robert Sossomon" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 2:32 PM
Subject: [PHP] Load a frame and work
You need to quote the $user:
$query = "select * from quoteprefs where salesman = '$user'";
- Original Message -
From: "Robert Sossomon" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Monday, June 14, 2004 2:44 PM
Subject: [PHP] Erroring out?!
> I am trying to figure out w
Yes, pardon me for actually providing to the spirit of this list, to help
people find ways to meet their objectives. Just saying "no" isn't very
constructive, now is it? :-)
"Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ste
did you set up the mime types in apache? did you restart apache?
- Original Message -
From: "Marlene Thoms" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 12, 2004 12:37 AM
Subject: [PHP] Installation Question
I am running Windows XP and have installed Apache2, MyODBC,
You could use javascript to determine whether or not to send it to the frame
and if so, the target attribute in the form tag can be used to direct the
form values to the frame for processing, if you're intending for the other
frame to process the form data.
If you're intending that the frame that
Easier to learn than Perl, comparable learning curves with CF imo, probably
a bit easier than ASP initially.
Cheaper to deploy than CF since it's free, same for ASP.
As for speed in building applications, I'd say that given someone has the
same ability in any of the 4 (PHP, ASP, CF, Perl) deploym
lol -- If I get email not intended for me, it is now MY property and I'll
darn well send it, copy it, distribute it as I see fit. Kinda like getting
stuff in the mail you didn't order...
And I guess the admins finally did something about those two autoresponders.
THANKS!!
- Original Message --
Since PHP is parsed on the server and not on the client machine, you should
be getting the server time. You can figure out in which TZ the server is by
comparing it to the time where you are.
Steve
- Original Message -
From: "Alex Hogan" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL
Try:
$_SERVER['HTTP_REFERER']
You misspelled it...
- Original Message -
From: "Larry E. Ullman" <[EMAIL PROTECTED]>
To: "cab" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, June 09, 2004 8:46 AM
Subject: Re: [PHP] previous page
> > Thanks all makes sense, but, if I add th
Kudos, kudos, kudos to the people who developed this webmail application and
kudos to people who contributed plugins. Truly an easy program to install.
The plugins are endless and also simple to install and configure.
An excellent PHP application, highly recommended for anyone that needs a
powerfu
nks,
Steve
- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 04, 2004 2:51 PM
Subject: Re: [PHP] HTTP_REFERER
> Steve Douville wrote:
> > I think I'm having a major brain fart here. Is there a $HTTP_REFER
I think I'm having a major brain fart here. Is there a $HTTP_REFERER
anymore? It doesn't show up as a server variable or anything at all in
phpinfo()... using php 4.3.4
Ideas?
TIA,
Steve
Open a file. Put this code in there:
Save as test.php and point your browser to it.
- Original Message -
From: "Nguyen, Long P (Mission Systems)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 4:33 PM
Subject: [PHP] php installation verification
> I am new
y would be prompted to do something about it.
Oh, look, two more to delete. (I knew the risk, believe me...) ;-)
- Original Message -
From: "Justin Patrin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 1:43 PM
Subject: Re: [PHP] Spammers
age -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Steve Douville" <[EMAIL PROTECTED]>; "Php-General-Help"
<[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 12:01 PM
Subject: RE: [PHP] Spammers
[snip]
Those messages are only broadcast
Those messages are only broadcast if you happen to send a message to the
board cause people have autoresponders set. Given that there are only two
and now one bad address returning a message, I find it fairly easy to just
hit the delete button three times. I don't think this qualifies as spam.
So,
This works perfectly fine for me, as is.
fyi -- It doesn't matter what case "post" or "get" are in the code, the
global _GET and _POST will be populated properly.
- Original Message -
From: "php-general" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 11:24 AM
Su
PHP is installed without openssl here at pair. I want to make a socket call
to port 443 on a server and I'm getting an error from fsocketopen() that no
ssl support is built in, of course. I thought that using "ssl://" might work
around this, but I guess not. Any ideas for me?
$host = "my.host.com
echo '';
echo '';
while ($myrow = mysql_fetch_array($sql))
{
echo '';
echo $myrow[0];
echo '';
}
echo '';
echo '';
You did say you wanted 5 COLUMNS, not rows, in your table... right?
"nabil" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hiya,
>
> How can i draw a new AFTER F
I'm got a query that is joining a few tables.
select
par.*, pla.*, pro.*, reg.*
from parent par, players pla, registrations reg, programs pro
where blah blah blah
Now, a result set is the same but I'm having trouble parsing it because I
have column names that are identical in two of t
When you do a describe (desc tablename) it returns the type and length of
the field in the database as part of the result set. You can parse that out
and determine what kind of an input field to generate.
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To:
Why don't you have your script do a desc on the table you pass to it, parse
the results, and populate the data needed for your form building class?
- Original Message -
From: "Edward Peloke" <[EMAIL PROTECTED]>
To: "Php-General" <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 9:37 AM
Subjec
Capture the variables you've sent to the main frame page and send them via
the url of the frames.
Hope that helps.
- Original Message -
From: "gowthaman ramasamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 14, 2004 2:24 AM
Subject: [PHP] variable passing using URL
Is there a variable that I can call that will return an array with any
variables I have set? I'd want to call it and then parse and display current
values of, in this case, a and b. Hope that makes sense.
TIA
39 matches
Mail list logo