php-general Digest 28 Dec 2008 11:54:49 - Issue 5869
Topics (messages 285110 through 285134):
Webhotel structure
285110 by: Nordstjernealle 10
285112 by: Daniel Brown
285116 by: Richard Heyes
285117 by: John Corry
285118 by: Dotan Cohen
285122
On Sat, 2008-12-27 at 16:23 -0800, Fred Silsbee wrote:
on page 1
Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on
line 71
Notice: Undefined index: in C:\Inetpub\wwwroot\handle_log_book_MySQL.php on
line 72
in php.ini:
error_reporting = Off
Hi,
i'm currently working on some project which needs in several pages, a table
to display query results...till now nothing special.
however, in order to not create several time the table and features i've
decided to create my own templates including PHP classes, CSS and
javascript.
this table
do you have any idea how to do this. i have a small vps about 10GB
space. i live somewhere is south east asia where solutions like Amazon
S3 is incredibly slow. (500ms ping time).
i have a simple php gallery. But dedicated server is quite expensive
($100/month). searching around, i found several
On 28/12/08 13:33, Alain Roger wrote:
i'm currently working on some project which needs in several pages, a table
to display query results...till now nothing special.
however, in order to not create several time the table and features i've
decided to create my own templates including PHP
Hi,
basically i have a php file with several parameter received in GET or POST.
this PHP page execute a db query and should return a specific amount of
records and columns.
however i do not want to display those records like that...
i have a web page with javascript and the javascript should
You can return (echo) a JSON or a XML with those results.
That way it doesn't store the file anywhere. :)
(I'd go for JSON + jquery)
Regards,
Thiago Henrique Pojda
On Sun, Dec 28, 2008 at 11:32 AM, Alain Roger raf.n...@gmail.com wrote:
Hi,
basically i have a php file with several parameter
Ajax is what you need to look at. JS can certainly accept the data
being posted back from the server.
Bastien
Sent from my iPod
On Dec 28, 2008, at 9:32 AM, Alain Roger raf.n...@gmail.com wrote:
Hi,
basically i have a php file with several parameter received in GET
or POST.
this PHP
On Sun, Dec 28, 2008 at 12:41 PM, Tim Rude tim_r...@yahoo.com wrote:
Using PHP, is there a way for me to read the values that a user has
entered into the text fields of a FORM prior to the user clicking the
submit button?
If the user doesnt press the submit button PHP has no idea what's
going
At 4:23 PM -0800 12/27/08, Fred Silsbee wrote:
on page 1
Notice: Undefined index: in
C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 71
Notice: Undefined index: in
C:\Inetpub\wwwroot\handle_log_book_MySQL.php on line 72
in php.ini:
error_reporting = Off
display_errors = Off (in 2
Hi gang:
I have a small php routine to provide the user with a style choice.
The working url is here:
http://php1.net/a1/david/
The simple code that allows style switching follows:
?php session_start();
$the_style = isset($_SESSION['the_style']) ? $_SESSION['the_style'] : 'style1';
tedd wrote:
Hi gang:
I have a small php routine to provide the user with a style choice. The
working url is here:
http://php1.net/a1/david/
The simple code that allows style switching follows:
?php session_start();
$the_style = isset($_SESSION['the_style']) ? $_SESSION['the_style']
At 7:31 PM +0200 12/27/08, Dotan Cohen wrote:
Is there a compelling reason to use either REQUEST_URI or SCRIPT_NAME
in the action of a form that I want to submit to the same URL that it
came from (the script parses whether or not there is a Submit to know
if it should display the form or the
2008/12/28 tedd tedd.sperl...@gmail.com:
Dotan:
Maybe this is too simple, but what I do is to leave the form attribute
action= blank.
My understanding (may be wrong) is that forms always submit to themselves
unless directed to do so otherwise.
Cheers,
tedd
Thanks, Tedd. That approach
At 9:41 AM -0600 12/28/08, Tim Rude wrote:
Using PHP, is there a way for me to read the values that a user has
entered into the text fields of a FORM prior to the user clicking the
submit button?
Essentially what I want to do is make sure the user has filled in all
three text fields on my form
On Sun, Dec 28, 2008 at 11:47, Jim Lucas li...@cmsws.com wrote:
short tags are enabled. Disable them in your php.ini file and you will be
good.
Correct. It's shared hosting, so short_open_tags is on for
compatibility's sake. That's on one of my servers, so let me know if
you need a
At 10:03 PM -0500 12/27/08, Robert Cummings wrote:
On Sat, 2008-12-27 at 15:54 -0500, John Corry wrote:
+1
Is it me or has the php mailing list kind of dumbed itself down in the
last 5 years?
Hey, that's almost as long as I've been here...
*blink* ... *blink* *blink*
:O
Cheers,
Rob.
At 3:36 PM -0500 12/27/08, Daniel Brown wrote:
On Sat, Dec 27, 2008 at 15:27, Nordstjernealle 10
nordstjerneall...@gmail.com wrote:
Hi PHP experts
What is the overall structure on webhotels, how do I remove/clean
everythink including everythinnk liek databases etc?
Sorry if this is not
At 12:07 PM -0500 12/27/08, Daniel Brown wrote:
Check the archives and STFW for examples, but the general gist is
of it is to use $_SESSION tracking with activity checking. I'm just
typing this in quickly as I go, so it's untested (read: don't copy and
paste for production), but here's a
Hi Carlos and what people
Thank for trying to help.
As I said Im a newbie or rather total beginner in the web territory
My webhotel is surftown starter (I paid for 5 years long ago before the
price went up so I do not want to change.
I got a domain attached.
The surftown webserver runs
Hello,
I have to code a compatibility layer under PHP5 for PostgreSQl and
MySQL, which mean, I have to code something like db_query() which then
can be used with mysql_query() and pg_query().
But now I have hit an weird error, since in PostgreSQL it is wotking but
in MySQL it get the
At 6:59 PM +0200 12/28/08, Dotan Cohen wrote:
2008/12/28 tedd tedd.sperl...@gmail.com:
Dotan:
Maybe this is too simple, but what I do is to leave the form attribute
action= blank.
My understanding (may be wrong) is that forms always submit to themselves
unless directed to do so
Hi
I'm sure this is simple for yous all but I'm not sure I know the answer.
$myFileLast = http://www.myDomain.com/text.txt;;
if (is_readable($myFileLast))
{
$fh = fopen($myFileLast, 'r');
$theDataLast = fread($fh, 200);
fclose($fh);
On 28/12/08 16:47, Jim Lucas wrote:
short tags are enabled. Disable them in your php.ini file and you will be good.
Alternately:
?php
echo '?xml version=1.0 encoding=UTF-8 ?';
?
--
Benjamin Hawkes-Lewis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
--- On Sun, 12/28/08, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
From: Ashley Sheridan a...@ashleysheridan.co.uk
Subject: Re: [PHP] errors still being displayed even if variables in php.ini
set to off
To: fredsils...@yahoo.com
Cc: php-general@lists.php.net
Date: Sunday, December
I think it can also be set in .htaccess
php_flag short_open_tag off
somebody confirm this or not.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello all,
I am using system to convert some files using a binary in linux. My code
looks like this:
$response = system('gpsbabel -p -r -t -i gpx -f test.gpx -o kml -F
test2.kml', $retval);
echo pResponse: , $response, /ppReturn Value: , $retval;
The $retval is returning code 127 -
On Sun, 2008-12-28 at 11:40 -0500, tedd wrote:
Hi gang:
I have a small php routine to provide the user with a style choice.
The working url is here:
http://php1.net/a1/david/
The simple code that allows style switching follows:
?php session_start();
$the_style =
On Sun, 2008-12-28 at 18:59 +0200, Dotan Cohen wrote:
2008/12/28 tedd tedd.sperl...@gmail.com:
Dotan:
Maybe this is too simple, but what I do is to leave the form attribute
action= blank.
My understanding (may be wrong) is that forms always submit to themselves
unless directed to do
On Sun, Dec 28, 2008 at 12:40 PM, Ryan O'Sullivan r...@rynet.com wrote:
Hello all,
I am using system to convert some files using a binary in linux. My code
looks like this:
$response = system('gpsbabel -p -r -t -i gpx -f test.gpx -o kml -F
test2.kml', $retval);
echo pResponse: ,
Nathan Nobbe wrote:
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP?
mvc is pretty popular, but php is so flexible you often don't need it
for smaller applications.
For example, if you take a
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates quw...@gmail.com wrote:
Nathan Nobbe wrote:
Hey,
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP?
mvc is pretty popular, but php is so flexible you often
Thanks! I haven't played with javascript but it looks pretty
straight-forward. I appreciate the samples.
Tim Rude
--
tedd tedd.sperl...@gmail.com wrote in message
news:p06240817c57d610ba...@[192.168.1.101]...
At 9:41 AM -0600 12/28/08, Tim Rude wrote:
Using PHP, is there a way for me to read
On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp j...@johnallsopp.co.ukwrote:
Hi
I'm sure this is simple for yous all but I'm not sure I know the answer.
$myFileLast = http://www.myDomain.com/text.txt;;
if (is_readable($myFileLast))
{
$fh = fopen($myFileLast,
On Sun, Dec 28, 2008 at 12:40 PM, Ryan O'Sullivan r...@rynet.com wrote:
Hello all,
I am using system to convert some files using a binary in linux. My code
looks like this:
$response = system('gpsbabel -p -r -t -i gpx -f test.gpx -o kml -F
test2.kml', $retval);
echo pResponse: ,
On Sun, Dec 28, 2008 at 10:41 AM, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Hello,
I have to code a compatibility layer under PHP5 for PostgreSQl and
MySQL, which mean, I have to code something like db_query() which then
can be used with mysql_query() and pg_query().
The pup architect framework Book on zend also has excellent detail on
the mvc pattern
Bastien
Sent from my iPod
On Dec 28, 2008, at 5:38 PM, Nathan Nobbe quickshif...@gmail.com
wrote:
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates quw...@gmail.com
wrote:
Nathan Nobbe wrote:
At 6:06 PM + 12/28/08, Benjamin Hawkes-Lewis wrote:
On 28/12/08 16:47, Jim Lucas wrote:
short tags are enabled. Disable them in your php.ini file and you
will be good.
Alternately:
?php
echo '?xml version=1.0 encoding=UTF-8 ?';
?
--
Benjamin Hawkes-Lewis
Bingo -- we have a winner!
On Sun, Dec 28, 2008 at 18:10, Rick Pasotto r...@niof.net wrote:
You overlooked the ampersand in front of $retval. The syntax for
'system' is:
string system ( string $command [, int $return_var ] )
You have to pass a pointer to the variable, not the variable itself.
Actually, that's
On Sun, Dec 28, 2008 at 13:02, John Allsopp j...@johnallsopp.co.uk wrote:
$myFileLast = http://www.myDomain.com/text.txt;;
if (is_readable($myFileLast))
{
$fh = fopen($myFileLast, 'r');
$theDataLast = fread($fh, 200);
fclose($fh);
On Sun, Dec 28, 2008 at 6:49 PM, Daniel Brown danbr...@php.net wrote:
On Sun, Dec 28, 2008 at 18:10, Rick Pasotto r...@niof.net wrote:
You overlooked the ampersand in front of $retval. The syntax for
'system' is:
string system ( string $command [, int $return_var ] )
You have to
Hello,
on 12/28/2008 01:41 PM Tim Rude said the following:
Using PHP, is there a way for me to read the values that a user has
entered into the text fields of a FORM prior to the user clicking the
submit button?
Essentially what I want to do is make sure the user has filled in all
three
Hello,
on 12/28/2008 11:37 AM paragasu said the following:
do you have any idea how to do this. i have a small vps about 10GB
space. i live somewhere is south east asia where solutions like Amazon
S3 is incredibly slow. (500ms ping time).
i have a simple php gallery. But dedicated server is
On Sun, Dec 28, 2008 at 6:37 AM, paragasu parag...@gmail.com wrote:
do you have any idea how to do this. i have a small vps about 10GB
space. i live somewhere is south east asia where solutions like Amazon
S3 is incredibly slow. (500ms ping time).
i have a simple php gallery. But dedicated
Nathan Nobbe wrote:
good point dan, and just to add further clarification, thats b/c the
function specifies $return_var is passed by reference in the formal
parameter. when you include the along w/ an actual parameter (during
function invocation) thats referred to as
On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten mi...@onshore.com wrote:
Nathan Nobbe wrote:
good point dan, and just to add further clarification, thats b/c the
function specifies $return_var is passed by reference in the formal
parameter. when you include the along w/ an actual
Hello,
on 12/27/2008 09:40 PM Michael C. Yates said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
I use the Use Case Mapping as methodology to
Manuel Lemos schrieb:
Hello,
on 12/27/2008 09:40 PM Michael C. Yates said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done in PHP? And how
many architecture patterns are there?
I use the Use Case Mapping
On Mon, Dec 29, 2008 at 12:01 AM, Carlos Medina i...@simply-networks.dewrote:
Manuel Lemos schrieb:
Hello,
on 12/27/2008 09:40 PM Michael C. Yates said the following:
How do you structure your web applications? I am thinking in terms of
separating presentation and logic. How is that done
File a bug report at
http://bugs.php.net
You have a pretty clear-cut case of a built-in function gone awry, and it will
probably be fixed pretty fast.
I also rely on this function quite a bit, so it needs to work right when I end
up at 5.2.8 some day :-)
50 matches
Mail list logo