php-general Digest 27 Jan 2006 17:18:06 - Issue 3930
Topics (messages 229357 through 229370):
Re: copy problem with HTTP wrapper
229357 by: Laurent Vanstaen
229362 by: Manuel Lemos
229363 by: Laurent Vanstaen
229364 by: Manuel Lemos
229365 by: David
php-general Digest 28 Jan 2006 07:51:37 - Issue 3931
Topics (messages 229371 through 229392):
PHP Frameworks?
229371 by: Jay Paulson
229389 by: Richard K Miller
Re: doubt regarding while loop
229372 by: David Grant
229380 by: David Hall
PHP Job Opening in
Hi all,
I'm trying to copy a file from my PHP server to another server (a
home
gateway, called a LiveBox). I've used this code :
$livebox = 192.168.1.1;
...
...
...
$crontab_livebox = http://.$livebox./cgi-bin/newCrontab;;
if (!copy($crontab_temp_name, $crontab_livebox)) {
echo
Chris Boget wrote:
Let me start by saying there is nothing wrong with the above and it's
doing exactly what the OP needed. However, when I use variable
variables, I prefer to use the following notation:
${$foo}
It makes the coder's intention clear and makes it so that it can't be
mistaken
Let me try and answer my own question. I've *heard* that since PHP v4.3.2
file_exists() returne an open_basedir warning, but earlier PHP versions did
not. Is this true?
DRYALLS [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have 2 different PHP installs, each are slightly
Hi,
Perhaps you refer to this (fixed in 4.3.3):
http://bugs.php.net/bug.php?id=24313
David
DRYALLS wrote:
Let me try and answer my own question. I've *heard* that since PHP v4.3.2
file_exists() returne an open_basedir warning, but earlier PHP versions did
not. Is this true?
DRYALLS
Perhaps you saw it here:
http://php.net/file_exists
Search the page for ceo at l-i-e dot com or open_basedir.
David
DRYALLS wrote:
Let me try and answer my own question. I've *heard* that since PHP v4.3.2
file_exists() returne an open_basedir warning, but earlier PHP versions did
not. Is
Hello,
on 01/27/2006 05:59 AM Laurent Vanstaen said the following:
I see your point. Here in my case the server I want to copy a file on
has 192.168.1.1 for IP address and thus cannot be found from outside a
LAN, so the security problem is not that much important. But I agree
with you and see
Hello,
on 01/27/2006 05:59 AM Laurent Vanstaen said the following:
I see your point. Here in my case the server I want to copy a file on
has 192.168.1.1 for IP address and thus cannot be found from outside a
LAN, so the security problem is not that much important. But I agree
with you and
Hello,
on 01/27/2006 11:07 AM Laurent Vanstaen said the following:
I see your point. Here in my case the server I want to copy a file on
has 192.168.1.1 for IP address and thus cannot be found from outside a
LAN, so the security problem is not that much important. But I agree
with you and
Laurent,
Laurent Vanstaen wrote:
Hello,
on 01/27/2006 05:59 AM Laurent Vanstaen said the following:
I see your point. Here in my case the server I want to copy a file on
has 192.168.1.1 for IP address and thus cannot be found from outside a
LAN, so the security problem is not that much
Laurent Vanstaen wrote:
Hello,
on 01/27/2006 05:59 AM Laurent Vanstaen said the following:
I see your point. Here in my case the server I want to copy a file on
has 192.168.1.1 for IP address and thus cannot be found from outside
a
LAN, so the security problem is not that much
If so, what makes you think it's writable in the first place?
'Cause I work for this ISP
So you don't have specs then I guess, since you're asking in a public forum
!
Bingo :)
Shitty product bought on the shelf from a third party, no specs, no doc ...
Have you considered using a
Laurent,
Laurent Vanstaen wrote:
If so, what makes you think it's writable in the first place?
'Cause I work for this ISP
So you don't have specs then I guess, since you're asking in a public
forum! Have you considered using a HTTP PUT request (using cURL)?
php.net/curl
$curl =
My company is looking for a PHP developer to work out of their London
office. If you live in/around the city and are interested, please respond
to me (personally, not the list :p) with your resume/CV.
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Has anyone used any of the following frameworks? What is the general
opinion of using frameworks etc?
WASP - http://wasp.sourceforge.net/content/
Symfony - http://www.symfony-project.com/
Prado - http://www.xisc.com/
WACT - http://www.phpwact.org/
CakePHP - http://www.cakephp.org/
--
PHP
Suresh,
suresh kumar wrote:
hi,
for eg
while(list(t1,t2,...)=mysql_fetch_row($result)):
endwhile;
You could start with list($t1, $t2, ...) instead. Personally, I'd done
it without assuming mysql_fetch_row is returning an array.
hi,
for eg
while(list(t1,t2,...)=mysql_fetch_row($result)):
endwhile;
while i use $t1 ouside while loop ,its corresponding
value is not displaying,how can i display the value
of $t1.
Login Innovations, a new media internet solutions studio in UAE is looking
for a resident-in-house PHP developer with at least 2 years experience.
Skills required:
OO knowledge and PHP5
PEAR aware
Framework and code libraries integration
CMS integration
SQL and PL-SQL (MySQL 4.x, MySQL 5)
XML
Hallo,
I am adding a value to a session variable (an array). Then I want to place
the key of the array in another session variable to keep it for later use
(so I can return to the array to write data to it). The key function should
work there, but it seems to be a bit strange.
Imagine:
$array
Hi all,
I am writing my first website in php. I have a few questions.
1) I need to do vaildation on form values that I have entered into a
form. Is there a way I can write the vaildation code on the same page
as the form in php?
2) I have a drop down menu on one of my form fields. What I
1) I need to do vaildation on form values that I have entered into a
form. Is there a way I can write the vaildation code on the same page
as the form in php?
Yes there sure is. :)
if (isset($submit)) {
// data validation etc.
}
else {
// display html form
}
2) I have a drop down
On Fri, 27 Jan 2006 12:28:07 -0700
Paul Goepfert [EMAIL PROTECTED] wrote:
I am writing my first website in php. I have a few questions.
1) I need to do vaildation on form values that I have entered into a
form. Is there a way I can write the vaildation code on the same page
as the form
Check out this list of code examples to help with #1
http://www.weberdev.com/AdvancedSearch.php?searchtype=titlesearch=validatio
n
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP code examples : http://www.weberdev.com
Free Uptime Monitor :
UAE = United Arab Emirates?
Do you want people on-site, or to work remotely?
Miles
At 02:05 PM 1/27/2006, M Saleh EG wrote:
Login Innovations, a new media internet solutions studio in UAE is looking
for a resident-in-house PHP developer with at least 2 years experience.
Skills required:
suresh kumar wrote:
while(list(t1,t2,...)=mysql_fetch_row($result)):
do you mean to use:
while(list($t1, $t2, . . .) = mysql_fetch_row($result)):
David Hall
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I send out a daily email to an email list. I have only been doing this for
about a week, and realized today that each one of them so far has had at
least one mysterious exclamation point somewhere in the email. This is
sometimes in the middle of the word or sentence, but always out of place. I
Hello!
I have a database and php classes and I'm not sure the best way I
should be retrieving the data.
as below, if 'other' (line 9) is stored in the database as an id of a
record in another table,
should my getData() method:
a. return the id as part of the MyObj object and whatever
Hi:
I'm trying to create a thumbnail from a jpeg stored in a long blob in mySQL.
What's wrong here? I get an image that's the correct size, but it's black.
Any ideas?
Thanks.
tedd
code
$dbQuery = SELECT image_type, image, image_width, image_height ;
$dbQuery .= FROM pictures ;
$dbQuery .=
(skip down)
I'm trying to create a thumbnail from a jpeg stored in a long blob in mySQL.
What's wrong here? I get an image that's the correct size, but it's black.
Any ideas?
code
$dbQuery = SELECT image_type, image, image_width, image_height ;
$dbQuery .= FROM pictures ;
$dbQuery .= WHERE
I am thinking about adding XMLDBX, a pretty good XML serializer to CVS. It
is documented and available at www.mohawksoft.org.
Any comments?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Help, I can't find anything on this.
I upgraded from apache 1.3 to apache
2.2
My problem is, I currently have .htm files being
parsed as php, that works fine.
However, if I have the php_engine turned off for a
directory, any .htm files will now prompt firefox to download it.
How do I
On Fri, Jan 27, 2006 at 06:03:50PM -0800, PHP wrote:
Help, I can't find anything on this.
I upgraded from apache 1.3 to apache 2.2
My problem is, I currently have .htm files being parsed as php, that works
fine.
However, if I have the php_engine turned off for a directory, any .htm
Sjef wrote:
Hallo,
I am adding a value to a session variable (an array). Then I want to place
the key of the array in another session variable to keep it for later use
(so I can return to the array to write data to it). The key function
should work there, but it seems to be a bit strange.
I haven't used them, but our local user group recently had a meeting
on PHP frameworks[1]. The feeling of the people that have used them
was that Symfony was a good project, and that CakePHP was a
particularly large installation. No one mentioned having used Prado,
WACT or WASP.
We
Hi Tedd,
Dynamic Thumbnail generation:
http://www.weberdev.com/ViewArticle-388.html
On 1/28/06, tedd [EMAIL PROTECTED] wrote:
Hi:
I'm trying to create a thumbnail from a jpeg stored in a long blob in
mySQL.
What's wrong here? I get an image that's the correct size, but it's black.
have you added .php .php3 .php4 extenstions to be treated as php files?
Thanks,
Richard
On 1/27/06, sanjay [EMAIL PROTECTED] wrote:
Hi,
I have a strange problem while trying to run php based applications.
Lets start with phpMyAdmin, a very popular open source tool to manage
MySQL
Check out this article : http://www.weberdev.com/ViewArticle-3.html
Sincerely
berber
Visit the Weber Sites Today,
To see where PHP might take you tomorrow.
PHP MySQL Forums : http://www.weberforums.com
Learn PHP MySQL Playing Trivia : http://www.webertrivia.com
Free Uptime Monitor :
38 matches
Mail list logo