php-general Digest 3 Sep 2005 11:01:21 - Issue 3661
Topics (messages 221787 through 221805):
socket_read() trouble with PHP_BINARY_READ
221787 by: M. Sokolewicz
221793 by: Tom Rogers
221800 by: M. Sokolewicz
221803 by: Gustav Wiberg
problem with the session
Hi,
Saturday, September 3, 2005, 9:19:11 AM, you wrote:
MS hello,
MS I'm writing a socket approach to send email directly via an SMTP server
MS (since some hosts block sendmail trough php due to abuse). Now, I have
MS the code, attached below:
MS I have cut it down slightly so it would still be
My understanding is that soundex was developed by several mathemeticians
at MIT in the 1950's. The idea was to create a way for similar sounding
family names to be grouped together reguardless of how they might be
spelled, and since english was the language their world spoke, the
algorithm tends
Hi,
I have an htaccess file and I want to create users and password with a php
script. The problem is that I've used md5 encryp for the password and is not
working. How to create the password from a php script.
Thanks in advance for your help
On 9/3/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I have an htaccess file and I want to create users and password with a php
script. The problem is that I've used md5 encryp for the password and is not
working. How to create the password from a php script.
this is a good starting
Hello, all -
This is a question that could depend on a completely different (yet,
relayed) subject, so I'm sending this email to both php-general@ and
[EMAIL PROTECTED] I thank you in advance for your understanding.
I am currently generating some images on the fly using some of PHP's
image
I need a way of setting the session_vars specific to a users browser window
for the case of the user having multiple windows open for the same php
session. Is this possible in php?
I know you can pickup the window id via self in JavaScript but I can't see
how you can link this back to the server
Hello *,
for an half hour I was at a new customer and they run apache 1.3 as
root on am IntranetServer because they need to admin there Fileserver
via php.
Now some problems:
1) They use exec(mcrypt ) to generate UNIX passwords for
/etc/shadow and I like to know, how I can create
hello,
thank you for the help, but I've tried your code, and it returns the
exact same thing :( the error #11 temporarily unavailable. If I remove
non-blocking, or change the error to ignore to 11 (10035 in your code
example) it simply hangs doing nothing *at all*...
I'm stumped; really..
Hi there!
?php echo $_SELF;? ?
/G
@varupiraten.se
- Original Message -
From: Chris Stenton [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, September 03, 2005 10:01 AM
Subject: [PHP] Distinguishing between multiple browser windows for the same
php session
I need
Gustav Wiberg wrote:
?php echo $_SELF;? ?
Please don't top-post [1].
This will not work. $_SELF isn't even a defined variable, unless you
defined it yourself.
PHP works on the server, *before* anything is sent on the client, so it
has no way to know client-side things like what browser
Hi there!
Can't it be anything with filepermissions? Just a clue...
/G
@varupiraten.se
- Original Message -
From: M. Sokolewicz [EMAIL PROTECTED]
To: php-general@lists.php.net; Tom Rogers [EMAIL PROTECTED]
Sent: Saturday, September 03, 2005 10:49 AM
Subject: Re: [PHP] socket_read()
Ok! I didn't know that was wrong to top-post... I think I know what it is
now! :-)
/G
@varupiraten.se
- Original Message -
From: Jasper Bryant-Greene [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Saturday, September 03, 2005 11:48 AM
Subject: Re: [PHP] Distinguishing between
Gustav Wiberg wrote:
?php echo $_SELF;? ?
Please don't top-post [1].
This will not work. $_SELF isn't even a defined variable, unless you
defined it yourself.
PHP works on the server, *before* anything is sent on the client, so it
has no way to know client-side things like what
Hi,
Saturday, September 3, 2005, 6:49:54 PM, you wrote:
MS hello,
MS thank you for the help, but I've tried your code, and it returns the
MS exact same thing :( the error #11 temporarily unavailable. If I remove
MS non-blocking, or change the error to ignore to 11 (10035 in your code
MS example)
Chris Stenton [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Gustav Wiberg wrote:
?php echo $_SELF;? ?
Please don't top-post [1].
This will not work. $_SELF isn't even a defined variable, unless you
defined it yourself.
PHP works on the server, *before* anything is sent on
Hi
guys hope you can all help me here. im in the middle of making a script ( im
still quite new), anyway im getting this error Parse error: syntax error,
unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is
mysql_connect($dbhost, $dbusername, $dbpassword) , i know its
Hi
guys hope you can all help me here. im in the middle of making a script ( im
still quite new), anyway im getting this error Parse error: syntax error,
unexpected T_STRING in c:\wamp\www\cms\header.inc on line 5 and on line 5 is
mysql_connect($dbhost, $dbusername, $dbpassword) , i know its the
Are you sure that is the 5-th line of your script? please give us
first 1-10 lines (remove confidential data) for debuging...
On 9/3/05, php general help php-general@lists.php.net wrote:
Hi
guys hope you can all help me here. im in the middle of making a script ( im
still quite new), anyway
Hello,
I have just rewrite the source and test the result...
But it is still problem !
So, more help ?
Thanks !
[EMAIL PROTECTED] wrote:
Hello Jasper,
Does your means :
I need to rewite the source / result page as the following ?
Result page:
?
for($i=0;$i4;$i++)
{
What exactly are you trying to do?
That looks like clientside code.
Why exactly are you trying to open a local(clientside) network object?
On 9/1/05, Gustav Wiberg [EMAIL PROTECTED] wrote:
Hi again!
Is this impossible to do in PHP?
Dim objNet
On Error Resume Next
'In case we
On 9/3/05, Michelle Konzack [EMAIL PROTECTED] wrote:
Hello *,
for an half hour I was at a new customer and they run apache 1.3 as
root on am IntranetServer because they need to admin there Fileserver
via php.
Now some problems:
1) They use exec(mcrypt ) to generate UNIX passwords
My server was upgraded to php 5 and now nothing runs because of undefined
index errors all over the place.. How can I save myself from recoding for
hours and hours ??
Thank you in advance for any help you can offer.
-jason
file permissions on what? These are sockets :(
- tul
As the wise Gustav Wiberg [EMAIL PROTECTED] said:
Hi there!
Can't it be anything with filepermissions? Just a clue...
/G
@varupiraten.se
- Original Message - From: M. Sokolewicz [EMAIL PROTECTED]
To: php-general@lists.php.net;
In the end I decided I'll just use the fsockopen(), feof(), fwrite,
fread, etc. function-set instead (got the idea from PEAR's NET_Socket).
And that seems to work just fine... too bad I couldn't get the low-level
functions to work (still don't know why), but this works great...
thank you all
Hi Rory,
Am 2005-09-03 17:04:19, schrieb Rory Browne:
I'm not totally sure on the format of the passwords in /etc/shadow,
but can you do anything with php's md5 function? If not, then perhaps
the mcrypt extension may do something for you.
Unfortunatly not, because
echo -n michellesecret
Hello Jason,
Am 2005-09-03 10:42:27, schrieb Jason Boerner:
My server was upgraded to php 5 and now nothing runs because of undefined
index errors all over the place.. How can I save myself from recoding for
hours and hours ??
I have tried tu upgrade my Server to php5 too.
Same Errors...
Hi, with what program i can upload my files in ftp but make it writables,
beacause i cant's config nothing and start to build with php.
amp;nbsp;
Thanks.
I would like the gd library to handle the vector image format, PCT.
GD is installed on my shared server and, unfortunately, ImageMagick is
not :(
ImageMagick CAN export PCT files.
Can I get GD to do this too ?
g
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
- Original Message -
From: Rory Browne [EMAIL PROTECTED]
To: Gustav Wiberg [EMAIL PROTECTED]
Cc: PHP General php-general@lists.php.net
Sent: Saturday, September 03, 2005 4:40 PM
Subject: Re: [PHP] Impossible???
What exactly are you trying to do?
That looks like clientside code.
the one you posted is created with crypt() (see crypt in the php manual)
Michelle Konzack wrote:
Hi Rory,
Am 2005-09-03 17:04:19, schrieb Rory Browne:
I'm not totally sure on the format of the passwords in /etc/shadow,
but can you do anything with php's md5 function? If not, then perhaps
Michelle Konzack wrote:
Hi Rory,
Am 2005-09-03 17:04:19, schrieb Rory Browne:
I'm not totally sure on the format of the passwords in /etc/shadow,
but can you do anything with php's md5 function? If not, then perhaps
the mcrypt extension may do something for you.
Unfortunatly not,
Michelle Konzack wrote:
Hello Jason,
Am 2005-09-03 10:42:27, schrieb Jason Boerner:
My server was upgraded to php 5 and now nothing runs because of undefined
index errors all over the place.. How can I save myself from recoding for
hours and hours ??
I have tried tu upgrade my Server
Graham Anderson wrote:
I would like the gd library to handle the vector image format, PCT.
GD is installed on my shared server and, unfortunately, ImageMagick is
not :(
ImageMagick CAN export PCT files.
Can I get GD to do this too ?
Not as far as I know, no.
-Rasmus
--
PHP General
I'm trying to get the computername... :-)
Since your not passing the script any ip address, I presume that the Script
you are trying to run gets the computername of the computer it is run on?
If you got that to work, they only place you could run it is on the server,
thus getting the server
Dan Trainor wrote:
Hello, all -
This is a question that could depend on a completely different (yet,
relayed) subject, so I'm sending this email to both php-general@ and
[EMAIL PROTECTED] I thank you in advance for your understanding.
I am currently generating some images on the fly using
Rasmus / all:
I'll revert to that as path of last resort. The FreeBSD port mechanism
for installing php extensions is administratively superior to maintaining
source installations manually. Apache/PHP/LDAP/SSL/SQL cocktails on
anything other than Linux are way too convuluted to not be
Should these two pieces of code function identically?
$aArgs = array('testarg1','testarg2');
call_user_func_array(array('parent','AddNewElement',$aArgs)
and
parent::AddNewElement('testarg1','testarg2');
I'm havign trouble debugging this, but my app seems to be going into an
infinite loop
You know, ... after I posted this, I found another bug (not sure how I
missed it before). This one may actually be the cause of my problem:
http://bugs.php.net/bug.php?id=32290
I don't relish the idea of an upgrade to work around this problem
though. So any thoughts or idea would still be
Okay, problem fixed:
1) cd /usr/{ports,pkgsrc}/{net/php5-ldap,databases/php-ldap} on
{Free,Net}BSD respectively
2) sudo make configure
3) sudo vim
On FreeBSD
work/php-5.0.4/ext/ldap/config.h or..
work/php-4.4.0/ext/ldap/config.h
on NetBSD:
work/php-5.0.4/ext/ldap/config.h
4) Change:
/*
File a bug at http://bugs.php.net and someone will take a look.
Brian A. Seklecki wrote:
Okay, problem fixed:
1) cd /usr/{ports,pkgsrc}/{net/php5-ldap,databases/php-ldap} on
{Free,Net}BSD respectively
2) sudo make configure
3) sudo vim
On FreeBSD
work/php-5.0.4/ext/ldap/config.h
Dan Trainor wrote:
Dan Trainor wrote:
Hello, all -
This is a question that could depend on a completely different (yet,
relayed) subject, so I'm sending this email to both php-general@ and
[EMAIL PROTECTED] I thank you in advance for your understanding.
I am currently generating some
On Sat, 3 Sep 2005, Rasmus Lerdorf wrote:
File a bug at http://bugs.php.net and someone will take a look.
Brian A. Seklecki wrote:
Done:
http://bugs.php.net/34361
FreeBSD PR (CC'd maintainer):
ports/85700
http://www.freebsd.org/cgi/query-pr.cgi?pr=85700
NetBSD PR (CC'd
Dan Trainor wrote:
Dan Trainor wrote:
Hello, all -
This is a question that could depend on a completely different (yet,
relayed) subject, so I'm sending this email to both php-general@ and
[EMAIL PROTECTED] I thank you in advance for your understanding.
I am currently generating some
Ok. thanks but I am did a mistake at the code web sitie.
but I solve this problem.
thanks very mouh.
@TOMAS
- Original Message -
From: Gustav Wiberg [EMAIL PROTECTED]
To: Tomás Rodriguez Orta [EMAIL PROTECTED];
php-general@lists.php.net
Sent: Friday, September 02, 2005 10:29 PM
Subject:
is there a way to take 3 objects:
button graphic
picture thumbnail
text from a POST
and composit them together at the same time ?
I guess I could take the first 2 elements: button graphic and the
picture thumbnail...and then imagecopy it...
and then take that composited image and overlay
I installed apache and it seems to be working.
I installed PHP and ti seems to translate HTML but it dosent seem to understand
PHP.
Here is what is did;
I modified the PATH=.. to PATH= .;C:\php5
i placed the PHP.ini file in the c:\php5 directory
I made three modifacations
Dale Turner wrote:
I installed apache and it seems to be working.
I installed PHP and ti seems to translate HTML but it dosent seem to understand
PHP.
# added the line.
AddType application/x-hpptd-php .php .phtml .html
Maybe you'd like to try:
AddType application/x-httpd-php .php .phtml
input TYPE=text NAME=searchenquiry VALUE= size=30
Any suggestion on how to swap AND OR NOT for mysql fulltext syntax in
$searchenquiry?
A simple parse for AND and then str_replace? Is str_replace
appropriate for case?
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
49 matches
Mail list logo