On Friday 21 November 2003 08:53, Jesper Hansen wrote:
> I'm trying to run a super simple command through passthru.
>
> Here's my test.php file:
>
>
>
>
>
>
> It works if run directly with "php test.php".
> When this is run from the browser, there is no output, and the
> following error is logg
/*
Hmmm, that's prepending... how about:
$money = 30.'$';
or if he wants it at the beginning:
$money = strrev( strrev( '30' ).'$' );
*heheh*
Rob.
*/
Pretty damn good and didnt require the installation of Interjinn either!!!
Hehehe
Peace.
-Ryan
--
PHP General Mailing List (http://www.php.n
On Sunday 23 November 2003 18:49, QT wrote:
> I try to connect to email inbox via IMAP but I am getting folowing error:
>
> Certificate failure for xx self signed certificate:
> /C=--/ST=SomeState/L=SomeCity
What code are you using? And have you studied the examples for imap_open()?
--
Jas
ummm Flush maybe
_
Nigel Jones
[EMAIL PROTECTED]
>> -Original Message-
>> From: M [mailto:[EMAIL PROTECTED]
>> Sent: Sunday, November 23, 2003 5:57 PM
>> To: [EMAIL PROTECTED]
>> Subject: [PHP] Why MySql doesn't free space when erasing BLOB fields?
>>
>>
>> Hello, sor
Unfortunately, I just can't keep up with the list traffic right now so I'll be
unsubscribing for a bit. If anyone needs to reach me, please use this address.
Thanks for all the help.
Edward Dudlik
Becoming Digital
www.becomingdigital.com
--
PHP General Mailing List (http://www.php.net/)
To un
Hello, sorry this mysql question here, but I cant't answer this one.
I have database with BLOB fields to hold pictures (60-90 kb each).
Actually I am erasing these BLOB fields (move '' into and update rcord)
to free some space from my DB, but space is not released by mysql. I
verified BLOB fields
On Sat, 2003-11-22 at 23:35, John Nichel wrote:
> Joffrey Leevy wrote:
> > Hi all:
> >
> > The money_format function does not do it for me. Is
> > there a simple php function which appends the '$'
> > symbol to a string value. Example
> >
> > $money = 30
> > $money = some_php_function($money)
>
Joffrey Leevy wrote:
Hi all:
The money_format function does not do it for me. Is
there a simple php function which appends the '$'
symbol to a string value. Example
$money = 30
$money = some_php_function($money)
echo $money
//should show $30
thanks
How 'bout...
$money = '$' . 30;
--
By-Tor.co
Hi all:
The money_format function does not do it for me. Is
there a simple php function which appends the '$'
symbol to a string value. Example
$money = 30
$money = some_php_function($money)
echo $money
//should show $30
thanks
__
Do you Yahoo!?
Free Pop-Up
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> Sorry for the confusing initial request. You were correct in assuming
> that I am generating URLs like:
>
> page.php?foo1=bar1&foo2=bar2&foo1=bar3&foo2=bar4
>
> So I suppose the consise follow-up question is how can I get a
> hyperlink to change o
Do I use ldap_search to authenticate users in LDAP?
I can successfully search the LDAP and retrieve user's data based on a
search criteria like (cn=something).
If I use (password=somepass) or (userPassword=somepass) in the search
criteria it comes back with no hits.
How should this be done? D
Sorry for the confusing initial request.
You were correct in assuming that I am generating URLs like:
page.php?foo1=bar1&foo2=bar2&foo1=bar3&foo2=bar4
So I suppose the consise follow-up question is how can I get a hyperlink to
change one of those varibles in the string.
In the past I have just ta
--- "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote:
> I am trying to make a page navigation menu (we have all seen them,
> "Page: 1 2 3..."), and I would like to continue doing this via the
> URL variables. Right now, each of the page numbers is a hyper link
> is set like this:
>
> "page.php?".$_SERV
- Original Message -
> > If you start a program using this function and want to leave it running
in
> > the background, you have to make sure that the output of that program is
> > redirected to a file or some other output stream or else PHP will hang
until
> > the execution of the progra
php-general Digest 23 Nov 2003 03:02:09 - Issue 2431
Topics (messages 170668 through 170696):
An Application Server in PHP
170668 by: Luca Mariano
Textfields dont fully populate
170669 by: PAUL FERRIE
170670 by: Bas
170671 by: PAUL FERRIE
170674 by: B
Hey - this one should be simple.
I am parsing some data and have $_GET variables in the URL stipulating on
which record to start and how many records to display (these then get basses
to the limit command in my database query).
So here is the catch. I am trying to make a page navigation menu (we
Dear Sirs,
I try to connect to email inbox via IMAP but I am getting folowing error:
Certificate failure for xx self signed certificate:
/C=--/ST=SomeState/L=SomeCity
Any idea what is it mean?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Glad to be of service. =)
- Original Message -
From: PAUL FERRIE
To: [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 3:52 PM
Subject: [PHP] Re: Form with browse for file to upload "ftp"
Got it working :)
thanks for the help
Paul
"Paul Ferrie" <[EMAIL PROTECTED]>
That's my code:
$dbfile="db.sdb";
$db=sqlite_open($dbfile);
$res=sqlite_query($db,"select a.*,b.* from a left join b on a.id=b.id_a
where a.name like \"%1%\" or b.street like \"%1%\" order by cellphone");
echo sqlite_num_rows($res).CRLF;
sqlite_close($db);
It's realy just "benchmark" I've done. I'
--- Bronislav_Kluèka <[EMAIL PROTECTED]> wrote:
> Hi, I've got questions:
I only noticed one.
> I've got sqlite like PHP module (under windows). I tried this:
> a)execute script 1 (selecting from some table), it tooks 2 minutes
> b)execute script 2 , it tooks 3 minutes
> c)execute them both at th
--- Pieter <[EMAIL PROTECTED]> wrote:
> I recently started coding online and i have the weirdest response,
> my code is:
>
> if ($id = "add" )
When you convert the string "add" to a boolean, it equates to true.
I'm assuming you want to be using a conditional expression rather than an
assignment
Hi, I've got questions:
I've got sqlite like PHP module (under windows). I tried this:
a)execute script 1 (selecting from some table), it tooks 2 minutes
b)execute script 2 , it tooks 3 minutes
c)execute them both at the same time (from different browser windows), both
of t
Got it working :)
thanks for the help
Paul
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Getting bit of a regular on here :)
>
> I am hoping that someone can point me to a script that allows me to attach
a
> file to be uploaded to a set dir.
> I have already got the
PAUL FERRIE wrote:
I am getting this error once i run the script
Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?
Cheers
Paul
The user or group that your webserver is running as (default for Apache:
Hello,
He said that you have to check under which user/group is your webserver
running (webserver is handling the scripts)... and then set the correct
file/directory permissions on that /blah/blah directory..
yes u have to set at least chmod but look to chown also...
On Saturday 22 Nov
On Sat, Nov 22, 2003 at 08:18:30PM -, PAUL FERRIE wrote:
:
: "Bronislav kluèka" <[EMAIL PROTECTED]> wrote in message
: news:[EMAIL PROTECTED]
: >
: > User executing the script (www-data or nobody or some other user) has to
: > vave the permission to wotk with this directory.
:
: eh?
I think
eh?
"Bronislav kluèka" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> User executing the script (www-data or nobody or some other user) has to
> vave the permission to wotk with this directory.
>
>
>
> Brona
>
>
> > I am getting this error once i run the script
> >
> > Warning: move
User executing the script (www-data or nobody or some other user) has to
vave the permission to wotk with this directory.
Brona
> I am getting this error once i run the script
>
> Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
> Permission denied in /blah/blah
> Do i need
I am getting this error once i run the script
Warning: move_uploaded_file(img/matrix.jpg): failed to open stream:
Permission denied in /blah/blah
Do i need to set the chmod of the img folder?
Cheers
Paul
"Nathan Taylor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
There is nothin
Pieter wrote:
I recently started coding online and i have the weirdest response, my code is:
include 'function.inc';
echo "$id";
print (gettype($id));
if ($id = "add" )
{
echo "is add";
exit;
}
'=' sets value. '==' checks equality.
http://www.php.net/manual/en/language.operators.comp
On Sat, 2003-11-22 at 13:57, Pieter wrote:
> I recently started coding online and i have the weirdest response, my code is:
>
>
> include 'function.inc';
>
> echo "$id";
>
> print (gettype($id));
>
> if ($id = "add" )
>
> {
>
> echo "is add";
>
> exit;
>
> }
>
>
> if ($id = "own" )
>
I recently started coding online and i have the weirdest response, my code is:
";
print (gettype($id));
if ($id = "add" )
{
echo "is add";
exit;
}
if ($id = "own" )
{
echo "id is own";
exit;
}
if ($id = "all" )
{
echo "id is all";
exit;
}
?>
$id in this case = "own", but it
Oh and also, don't forget to set: enctype="multipart/form-data" in the tag.
Nathan
- Original Message -
From: Nathan Taylor
To: PAUL FERRIE ; [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 2:20 PM
Subject: Re: [PHP] Form with browse for file to upload "ftp"
There is
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
There is nothing special to be done with the form itself for it to support file
uploading aside from supply a browse field:
As for uploading it, here's some untested code:
if(!empty($_FILES['file']['tmp_name'])) {
$name = strtolower(eregi_replace('#| |\?|!', '', $_FILES['file']['name']))
Getting bit of a regular on here :)
I am hoping that someone can point me to a script that allows me to attach a
file to be uploaded to a set dir.
I have already got the form built, except for a browse file option.
The form is part of this admin area
http://thor.ancilenetworks.co.uk/~pferrie/vinre
Thank you Bas, i cant believe that once again it has been down to simple
syntx
cheers
"Bas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
b1.pair.com...
> Just change your code to:
>
> $result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or
> die("ther was an error
>
Just change your code to:
$result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or
die("ther was an error
tablename:= $tablename
row id:= $id");
if ($myrow = mysql_fetch_array($result)) {
echo "\n";
do {
printf("
Artist
Title
Picture
hi
The same way that you invoke any other system binary with backticks,
exec etc like this:
`java javasystem -scenario`;
NOTE: using java objects directly in PHP is a different kettle of fish
altogether, there are some interesting articles on that topic on many
web sites including phpbuilder.
At 03:49 PM 11/21/2003 -0800, Chris W. Parker wrote:
I'm looking for some helpdesk software and some intranet software with a
MySQL backend.
I use OneOrZero's helpdesk software for a couple of sites. Here's the
website: http://helpdesk.oneorzero.com/
It's not perfect, but it's free. Plus their
Sorry m8 i am a total newbie to php+html,
I dont get these problems with PHP+Flash
Here is the code i am using to return the edit page with the data.
$result = mysql_query("SELECT * FROM $tablename WHERE id= $id")or
die("ther was an error
tablename:= $tablename
"Paul Ferrie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello again guys
>
>This week i have been on here and made a few posts regarding a small
> admin site app
> http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html
>
> Most of it is now working thank god, bu
Hello again guys
This week i have been on here and made a few posts regarding a small
admin site app
http://thor.ancilenetworks.co.uk/~pferrie/vinrev/adm/myadmin.html
Most of it is now working thank god, but still have have problems fully
populating the textfields when i go to edit a record.
Hi guys,
some times ago I started a project called PHPlet with this purpose:
implement an application server where phplet can be deployed. phplet are
just like Java servlets, they have init(), destroy() and service() methods;
they run into the phplet container, from which they receive an
HttpPhplet
php-general Digest 22 Nov 2003 14:28:50 - Issue 2430
Topics (messages 170644 through 170667):
Re: looking for some software (helpdesk, intranet)
170644 by: Tim Garton
170653 by: Jason Wong
Re: question about security
170645 by: Chris W. Parker
170647 by: John
Bas wrote:
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Bas wrote:
How do i execute a program and leave it running and while it is running
the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
Oh
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Bas wrote:
>
> > How do i execute a program and leave it running and while it is running
the
> > php-script is still continued and outputs HTML when the other program is
> > still running.
> >
> > I need that is works on w
Bas wrote:
How do i execute a program and leave it running and while it is running the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
Oh, ohmanual
http://www.php.net/manual/en/ref.exec.php
--
By-Tor.com
It's all a
How do i execute a program and leave it running and while it is running the
php-script is still continued and outputs HTML when the other program is
still running.
I need that is works on windows.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
> Then there must be some kind of restriction on the server, Is it running
in
> chrooot enviroment. Try copying ls to a directory in the server root and
try
> again.
> --
> regards,
> Tom
I've tried that too, with ls and other programs in the local directory where
the
script was located. And with
Tim Garton wrote:
Problem #2 is that the use of PHP makes each Apache process consume
more memory. The process consumes more memory even when it is serving
static (non-PHP) files such as a JPG. It would be more efficient to
have a pool of small processes serving static files, and some larger
proces
I am looking for a reasonable free Web Host Management System that is mainly
based in PHP(so I can modify it a bit to my liking)
I have used WebCP(webcp.can-host.com) but it is too buggy to be worth
fixing.
All suggestions welcome.
_
Nigel Jones
[EMAIL PROTECTED]
--
PHP Genera
Philip Mak wrote:
Something that I wrote recently that I thought may be of general
interest for system administrators running PHP:
The web server runs on port 80, with the priviledges of the username
"apache". On most webhosts that support PHP, this web server executes
the PHP scripts. The PHP scr
ike strong wrote:
I don't know if this is the right place to ask this,
This is not the right place to ask this. Ask on a MySQL mailing list.
This is php.
but can anyone help me to figure out why each time I
try to access my database using:
c:\mysql\bin\inmysql -root -p
In windows -- unless
> ÄãºÃ!
Unknown command - "ÄúÃ!". Try HELP.
> ÎÒ¹«Ë¾ÌṩCDMAÎÞÏß¹«»°²úÆ·,²úÆ·°üÀ¨CDMAת½ÓºÐ/CDMAÉÌÎñµç»°,ÓÐÒÔÏÂ4ÖÖ·þÎñ
Unknown command - "ÎÒ¹«Ë¾ÌÁ¹©CDMAÎÞÏß¹«»°²ÚÆ·,²ÚÆ·°ÜÀ¨CDMAת½ÓºÐ". Try HELP.
> ·½Ê½:
Unknown command - "·½Ê½:". Try HELP.
> (1)Ö±½ÓÏúÊÛÎÒ¹«Ë¾Æ·ÅƵÄCDMAÎÞÏß¹«»°²úÆ·.
Unknown com
55 matches
Mail list logo