Re: [PHP] Problems with Netscape

2001-07-02 Thread Tomasz Abramowicz

> > I have a login form (look below) It works just perfict in IE but in
> > Netscape it gives me this error Not Found The requested URL 
> > /build3.0/user/ was not found on this server.
> 
> 
>^ try an "echo" here.
> 

dont think so.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] http_post_files not returning file type

2001-05-01 Thread Tomasz Abramowicz

this is taken straight from phpinfo(), as you can see
its all there except for type. I was wondering why
wouldnt my RH7.0, Apache 1.3.12 w/ PHP4.0.4pl1
know what the file type was...

HTTP_POST_FILES["userfile1"] 

Array
(
[name] => palazzina1.jpg
[type] => 
[tmp_name] => /tmp/phpewzSBs
[size] => 10272
)

tnx,
t.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] HELP !!!!

2001-05-01 Thread Tomasz Abramowicz

(www.phpwizard.net)

> Try phpMyAdmin
>
> Chris
>
> Hassan Arteaga wrote:
>
> > Hi all !!!
> >
> > I need URL to download some visual tool to create Databases, tables,
> > etc..for mySQL
> >
> > Thanks 
> >
> > --
> > M. Sc. Hassan Arteaga Rodríguez
> > Microsoft Certified System Engineer
> > Network Admin, WEB Programmer
> > FUNDYCS, Ltd
> > [EMAIL PROTECTED]
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> Chris Fry
> Quillsoft Pty Ltd
> Specialists in Secure Internet Services and E-Commerce Solutions
> 10 Gray Street
> Kogarah
> NSW  2217
> Australia
>
> Phone: +61 2 9553 1691
> Fax: +61 2 9553 1692
> Mobile: 0419 414 323
> eMail: [EMAIL PROTECTED]
> http://www.quillsoft.com.au
>
> You can download our Public CA Certificate from:-
> https://ca.secureanywhere.com/htdocs/cacert.crt
>
> **
>
> This information contains confidential information intended only for
> the use of the authorised recipient.  If you are not an authorised
> recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> e-mail.
> In this case, you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all
> copies of them.
> This e-mail and any attachments may also contain copyright material
> belonging to Quillsoft Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] date list

2001-05-01 Thread Tomasz Abramowicz

ahem
$daysinmonth = date('t');

- Original Message -
From: "Chris Fry" <[EMAIL PROTECTED]>
To: "Jon Rosenberg" <[EMAIL PROTECTED]>
Cc: "PHP List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 3:06 AM
Subject: Re: [PHP] date list


> Jon,
>
> Just had to do almost exactly this - here's one solution. The tricky bit
was
> getting the number of days in the month - you have to look at next month!
>
> This generates a list for 12 months starting with the current month and
outputs
> display stuff as well. In our scenario this is passed to a script which
grabs
> records from a database and produces a report for the month selected and
the
> previous month so the range of values is always for 2 months. Ours goes
> backwards - you'll need to adjust it to run forwards.
>
>   
>   $strThisMonth = date('m');
>$strThisYear = date('Y');
>// convert to integer
>$strThisMonth++;
>$strNextMonth = $strThisMonth;
>$strPrevYear = $strThisYear;
>for($i=0;$i<=12;$i++) {
> $strThisMonth--;
> if($strNextMonth == 0) {
>  $strNextMonth = 12;
> }
> if($strNextMonth == 13) {
>  $strNextMonth = 1;
> }
> // How many days in this month
> $lastday = mktime (0,0,0,$strNextMonth,0,$strThisYear);
> $last = strftime ("%d", $lastday);
> $strThisMonthTS = mktime (0,0,0,$strNextMonth,0,$strThisYear);
> $strThisMonthName = strftime ("%B", $strThisMonthTS);
> $strNextMonth--;
> if($strThisMonth == 0) {
>  $strThisMonth = 12;
>  $strThisYear--;
> }
> $strPrevMonth = $strThisMonth -1;
> if($strPrevMonth == 0) {
>  $strPrevMonth = 12;
>  $strPrevYear--;
> }
> $strPrevMonthTS = mktime (0,0,0,$strThisMonth,0,$strPrevYear);
> $strPrevMonthName = strftime ("%B", $strPrevMonthTS);
> if($strPrevMonth < 10) {
>  $strPrevMonth = "0".$strPrevMonth;
> }
> if($strThisMonth < 10) {
>  $strThisMonth = "0".$strThisMonth;
> }
> ?>
>  ?>">
> }
>   ?>
>   
>
>
> Jon Rosenberg wrote:
>
> > I need to make a select list for a web page in the following format:
> >
> > 01/01/01-01/07/01
> > 01/08/01-01/14/01
> > 01/15/01-01/21/01
> > etc
> > etc
> > till the end of 2002 and further in the future eventually
> >
> > I'd like to make PHP generate this for me so I don't have to handcode it
for
> > each year in the future.  I've looked at the date/time functions and I'm
a
> > bit confused.  Any help would be appreciated.  Thanks!
> >
> > Jon
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> Chris Fry
> Quillsoft Pty Ltd
> Specialists in Secure Internet Services and E-Commerce Solutions
> 10 Gray Street
> Kogarah
> NSW  2217
> Australia
>
> Phone: +61 2 9553 1691
> Fax: +61 2 9553 1692
> Mobile: 0419 414 323
> eMail: [EMAIL PROTECTED]
> http://www.quillsoft.com.au
>
> You can download our Public CA Certificate from:-
> https://ca.secureanywhere.com/htdocs/cacert.crt
>
> **
>
> This information contains confidential information intended only for
> the use of the authorised recipient.  If you are not an authorised
> recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> e-mail.
> In this case, you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all
> copies of them.
> This e-mail and any attachments may also contain copyright material
> belonging to Quillsoft Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Managing Multiple Conditions in a MySQL Query

2001-05-01 Thread Tomasz Abramowicz

Recent Signatures\n";
$query = "SELECT FirstName,LastName,CityState FROM phPetition WHERE
Public='yes' AND Verified='yes' ORDER BY ID DESC LIMIT 0,5";
$result =  mysql_query( $query )
or die("never expect your query to work: $query");

while ( $row = mysql_fetch_array( $result ) ) {

echo "" . stripslashes($row["FirstName"]) . " " .
stripslashes($row["LastName"]) . " from " . stripslashes($row["CityState"]);

}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] book help

2001-09-05 Thread Tomasz Abramowicz

http://www.php.net/books.php
hihi
t.
- Original Message - 
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 19:36
Subject: [PHP] book help


> I am a begginer in php and I have bought the Sterling 
> Huges' "php developer's cookbook" since it was the only 
> book I could find. Is it a good choise ? 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]