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 l
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 classes
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 read
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 wrote:
> Hi,
>
> basically i have a php file with several parameter received in GET
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" wrote:
Hi,
basically i have a php file with several parameter received in GET
or POST.
this PHP page execute a db qu
On Sun, Dec 28, 2008 at 12:41 PM, 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 prior to the user clicking the
> submit button?
If the user doesnt press the submit button PHP has no idea what's
going on there.
That's cl
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 p
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:
As you can see, the code works. However, if I add the following line
IN THE HTML (i.e., after ?>):
I rec
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:
>
> $the_style = isset($_SESSION['the_style']) ? $_SESSION['the_style'] :
> 'style1';
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 resu
2008/12/28 tedd :
> 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 seems a bi
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 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 befor
On Sun, Dec 28, 2008 at 11:47, Jim Lucas 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 hand, Tedd.
--
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
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 the proper news group for thi
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 sim
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 li
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 righ
At 6:59 PM +0200 12/28/08, Dotan Cohen wrote:
2008/12/28 tedd :
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
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:
';
?>
--
Benjamin Hawkes-Lewis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- On Sun, 12/28/08, Ashley Sheridan wrote:
> From: Ashley Sheridan
> 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 28, 2008, 12:01 PM
> On Sat, 2008-12-27 at 16:
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 "Response: ", $response, "Return Value: ", $retval;
The $retval is returning code
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:
>
> $the_style = isset($_SESSION['the_style']) ?
On Sun, 2008-12-28 at 18:59 +0200, Dotan Cohen wrote:
> 2008/12/28 tedd :
> > 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 oth
On Sun, Dec 28, 2008 at 12:40 PM, Ryan O'Sullivan 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 "Response: ", $
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 page-con
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates 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 yo
Thanks! I haven't played with javascript but it looks pretty
straight-forward. I appreciate the samples.
Tim Rude
--
"tedd" 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 the values that a
On Sun, Dec 28, 2008 at 11:02 AM, John Allsopp wrote:
> 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');
>
On Sun, Dec 28, 2008 at 12:40 PM, Ryan O'Sullivan 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 "Response: ",
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"
wrote:
On Sun, Dec 28, 2008 at 3:29 PM, Michael C. Yates
wrote:
Nathan Nobbe wrote:
Hey,
How do you structure your web a
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:
';
?>
--
Benjamin Hawkes-Lewis
Bingo -- we have a winner!
Thanks Benjamin -- that works without me havi
On Sun, Dec 28, 2008 at 18:10, Rick Pasotto 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 not e
On Sun, Dec 28, 2008 at 13:02, John Allsopp wrote:
>
> $myFileLast = "http://www.myDomain.com/text.txt";;
> if (is_readable($myFileLast))
> {
> $fh = fopen($myFileLast, 'r');
> $theDataLast = fread($fh, 200);
> fclose($fh);
> echo ("The dat
On Sun, Dec 28, 2008 at 6:49 PM, Daniel Brown wrote:
> On Sun, Dec 28, 2008 at 18:10, Rick Pasotto 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 pointe
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 prior to the user clicking the
> submit button?
>
> Essentially what I want to do is make sure the user has filled in all
> three t
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 serve
On Sun, Dec 28, 2008 at 6:37 AM, paragasu 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 server is quite
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 call-time-pass-by-re
On Sun, Dec 28, 2008 at 8:40 PM, Micah Gersten 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 parameter (during
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 im
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 wrote:
> 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?
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 :-)
_
49 matches
Mail list logo