php-general Digest 16 Feb 2003 10:40:57 -0000 Issue 1886

Topics (messages 135707 through 135730):

Re: Variables from the Form wouldn't transfer to my process page
        135707 by: Jason Wong
        135714 by: Geckodeep
        135724 by: Jason Wong

processing status page
        135708 by: Brendon
        135710 by: Ray Hunter
        135712 by: Brendon
        135713 by: Ray Hunter

Re: Compiling php 4.3.0 and oracle
        135709 by: Bradley C. Goldsmith

changing table  column height in xml
        135711 by: Sunfire

Re: Delivery Status Notification (Failure)]
        135715 by: Geckodeep

Re: permissions to work with fopen
        135716 by: Nicholas Wieland

Re: Block direct image loads but allow them in PHP
        135717 by: Justin French

forking sendmail
        135718 by: Brendon
        135719 by: Manuel Lemos

Re: HTML Mail problem
        135720 by: Manuel Lemos

Forms Help (continued)
        135721 by: Beauford.2002
        135722 by: Kevin Waterson
        135725 by: Ray Hunter
        135726 by: Beauford.2002
        135727 by: Kevin Waterson

PHP error messages
        135723 by: Brad Esclavon

Duh uuh ?
        135728 by: John Taylor-Johnston
        135729 by: Manuel Lemos

call a website from a php script
        135730 by: christian tischler

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
On Sunday 16 February 2003 03:37, Geckodeep wrote:
> I have these forms with one having pull down menu having data coming from a
> table which is working and I have set two variables one for ID and the
> other for the TEXT.
> The problem that I am facing is that when the form is submitted the ID
> variable is well taken into consideration and can see the value on the
> process page which is then inserted into the table. The TEXT variable which
> I set apparently for some reason it wouldn't show up.

Which is the TEXT variable that you're referring to? And where does 
$rubriqueid come from? 

[snip]

> Her is the part of the code from the first Form submit page
> <form name="article" method="post" enctype="multipart/form-data"
> action="../form_pro.php">
> <select name="catid">
> <option value="">Please choose your category</option>
> <?php // Fetching the name of the category and id
> while ($row = mysql_fetch_array($result_cat)){
>  $catid = $row["cat_id"];
>  $catname = $row["cat_text"];
>  echo("<option value='$rubriqueid'>$catname</option>\n");
> }
> ?>
> </select>
> html code....
>
> <input name="hidden" type="hidden" value="$autid">
> <input name="hidden" type="hidden" value="$catname">
> <input name="hidden" type="hidden" value="$catid">
> <td colspan="4"><input  name="submit1" type="submit"  value="Send">
>
> code on the Form process page
>
> <p>Catagory <?php echo($catname); ?></p>

Have you looked at the HTML source to see whether it looks OK?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I don't have any solution but I certainly admire the problem.
                -- Ashleigh Brilliant
*/

--- End Message ---
--- Begin Message ---
hi Jason
The TEXT variable is $catname and the $rubriqueid is a mistake it is
actually $catid but it is not that giving the problem. It is an error from
my part when I posted it.

My html looks ok.

I should tell you though that this page is on the admin section which is
under a login session script I use, which was recommended by some one on the
forum.

The script is in the include folder and the file is called access.php and I
include this file in every Php files found in the admin folder.

So if I have to think of using the session for my problem in passing the
variables, can I use session_register("$catid") in the forum page to
register and start new session or should I include it in the login script
where there is already password, userid and the user name registered.

Is it possible to start a new session for these two form pages and register
the variables, will it co-habit with the existing session? I am pretty
confused with session; I've checked the Php manual and couldn't really get
the gist of it.



Thanks for any help in advance.

gd



"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sunday 16 February 2003 03:37, Geckodeep wrote:
> > I have these forms with one having pull down menu having data coming
from a
> > table which is working and I have set two variables one for ID and the
> > other for the TEXT.
> > The problem that I am facing is that when the form is submitted the ID
> > variable is well taken into consideration and can see the value on the
> > process page which is then inserted into the table. The TEXT variable
which
> > I set apparently for some reason it wouldn't show up.
>
> Which is the TEXT variable that you're referring to? And where does
> $rubriqueid come from?
>
> [snip]
>
> > Her is the part of the code from the first Form submit page
> > <form name="article" method="post" enctype="multipart/form-data"
> > action="../form_pro.php">
> > <select name="catid">
> > <option value="">Please choose your category</option>
> > <?php // Fetching the name of the category and id
> > while ($row = mysql_fetch_array($result_cat)){
> >  $catid = $row["cat_id"];
> >  $catname = $row["cat_text"];
> >  echo("<option value='$rubriqueid'>$catname</option>\n");
> > }
> > ?>
> > </select>
> > html code....
> >
> > <input name="hidden" type="hidden" value="$autid">
> > <input name="hidden" type="hidden" value="$catname">
> > <input name="hidden" type="hidden" value="$catid">
> > <td colspan="4"><input  name="submit1" type="submit"  value="Send">
> >
> > code on the Form process page
> >
> > <p>Catagory <?php echo($catname); ?></p>
>
> Have you looked at the HTML source to see whether it looks OK?
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> I don't have any solution but I certainly admire the problem.
> -- Ashleigh Brilliant
> */
>


--- End Message ---
--- Begin Message ---
On Sunday 16 February 2003 09:21, Geckodeep wrote:

> My html looks ok.

Are you sure?

> The TEXT variable is $catname and the $rubriqueid is a mistake it is
> actually $catid but it is not that giving the problem. It is an error from
> my part when I posted it.

How are you passing $catname onto the next page? I presume via the hidden 
input element? AFAICS from your code (and you can spot this straight away 
from the HTML source) you only have a hidden input element for the last value 
of $catname retrieved from the DB. Thus you need to move them inside the 
while-loop. However your hidden input elements are all named 'hidden' which 
isn't very helpful -- give them unique names. 

The real question is why /are/ you passing $catname to the next page? $catid 
is the unique identifier so why do you need $catname on the next page? You 
can always lookup $catname from the DB on the next page if you need it. If 
you don't want to look it up again then I suggest putting both $catid and 
$catname into the option value ...

  <option value='$catid|$catname'>$catname</option>

... then extract the two parts on the following page.

Depending on what characters gets stored in $catname you may need to run it 
through htmlspecialchars().

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Q:      How did you get into artificial intelligence?
A:      Seemed logical -- I didn't have any real intelligence.
*/

--- End Message ---
--- Begin Message --- Hello,

How can I create a page that notifies the user their request is being processed after they click a submit button?

For example, they type in some information, the page then says "Your request is processing..."

Maybe a few animated ... 's for eyecandy, and then once the process is completed, they get directed to a desired page.

Regards,
Brendon
--- End Message ---
--- Begin Message ---
Are you using a form to get the input from the user...

One way that I do it is with Javascript...that will be the easiest bet
for you...



On Sat, 2003-02-15 at 15:15, Brendon wrote:
> Hello,
> 
> How can I create a page that notifies the user their request is being 
> processed after they click a submit button?
> 
> For example, they type in some information, the page then says "Your 
> request is processing..."
> 
> Maybe a few animated ... 's for eyecandy, and then once the process is 
> completed, they get directed to a desired page.
> 
> Regards,
> Brendon
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Yes, I'm using a form.

How do you do it with Javascript?  Do you have an example you can give?

Brendon
--- End Message ---
--- Begin Message ---
I can't remember the timer or sleeper function in javascript, but there
is one...

When you submit the form to the processing script (defined in your form
tag) then you can have a javascript that displays a graphic or text for
a few seconds that states "Processing data..."

Then use the onload function in the body tag of the processing page to
display the information from the submitted data...

--
Ray

On Sat, 2003-02-15 at 18:02, Brendon wrote:
> Yes, I'm using a form.
> 
> How do you do it with Javascript?  Do you have an example you can give?
> 
> Brendon
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hi All,

        
        Below is a sample of what I get when trying to compile php 4.3.0 with
the oracle extensions turned on. I'm upgrading a box from an earlier
version of php where php with oracle compiled fine.

        It configures ok:

        ./configure --with-apxs=/usr/local/apache/bin/apxs
--with-oracle=/home/brad/OraHome1/ --enable-mbstring -enable-track-vars

        Just breaks on a make. I noticed in the archives a recent discussion of
the problem - but couldn't find an answer.

        Any help would be greatly appreciated.

Cheers,
Brad













/root/downloads/php-4.3.0/ext/oracle/oracle.c:1612: `cda' undeclared
(first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c: At top level:
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1631: parse error before
'*' token
/root/downloads/php-4.3.0/ext/oracle/oracle.c: In function
`ora_describe_define':
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1638: `cursor' undeclared
(first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1694: `SQLT_LBI'
undeclared (first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1698: `SQLT_LNG'
undeclared (first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1701: `SQLT_STR'
undeclared (first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c: At top level:
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1724: parse error before
'*' token
/root/downloads/php-4.3.0/ext/oracle/oracle.c: In function
`ora_set_param_values':/root/downloads/php-4.3.0/ext/oracle/oracle.c:1731: `cursor' 
undeclared (first use in this function)
/root/downloads/php-4.3.0/ext/oracle/oracle.c:1749: `isout' undeclared
(first use in this function)










-- 
Bradley C. Goldsmith <[EMAIL PROTECTED]>

--- End Message ---
--- Begin Message ---
hi..

this might be a little off topic but does anybody know how to change the
table height in xml? my partial code is below::

<table border=1 cellspacing=0 cellpadding=0 style='border-collapse:collapse;
 border:none;mso-border-alt:three-d-engrave blue 6.0pt;mso-padding-alt:0in
0.5pt 0in 0.5pt'>
<?php if(!empty($member[Website])){ ?>
 <tr >
  <td width=590 valign=top style='width:6.15in; border:groove blue 6.0pt;
  border-bottom:solid blue .5pt;mso-border-alt:three-d-engrave blue 6.0pt;
  mso-border-bottom-alt:solid blue .5pt;padding:0in 0.5pt 0in 0.5pt'>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 1/10/2003

--- End Message ---
--- Begin Message ---
Me too but it sounds and looks like a virus! Anyway I deleted without
opening it.


"Lucas Lain" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> me too...
>
> John Nichel wrote:
>
> >Could one of the admins of this list take this email address off?
> >Everytime I send an email to the list, I get one of these.  Thanks.
> >
> >-------- Original Message --------
> >Subject: Delivery Status Notification (Failure)
> >Date: Fri, 14 Feb 2003 08:01:31 +0100
> >From: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >
> >This is an automatically generated Delivery Status Notification.
> >
> >Delivery to the following recipients failed.
> >
> >       [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >------------------------------------------------------------------------
> >
> >Reporting-MTA: dns;mbla01.belair.nl
> >Received-From-MTA: dns;mbla01.belair.nl
> >Arrival-Date: Fri, 14 Feb 2003 08:01:30 ?
> >
> >Final-Recipient: rfc822;[EMAIL PROTECTED]
> >Action: failed
> >Status: 5.1.1
> >
> >
> > ------------------------------------------------------------------------
> >
> > Subject:
> >
> > Re: [PHP] Simple PHP script
> > From:
> >
> > John Nichel <[EMAIL PROTECTED]>
> > Date:
> >
> > Thu, 13 Feb 2003 15:13:25 -0600
> > To:
> >
> > "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]>
> >
> >
> > Sigh....
> >
> > if ( $_POST['submit1'] ) {
> > echo ( "Hello $_POST['vname']" );
> > }
> >
> > http://www.php.net/manual/en/language.variables.scope.php
> > http://www.php.net/manual/en/language.variables.external.php
> >
> > Poon, Kelvin (Infomart) wrote:
> >
> >> Hi,
> >>
> >> I am new to PHP and had just written a simple php script to get things
> >> started. I have the following code:
> >>
> >>
> >> <html>
> >> <body>
> >> <?php
> >> if($submit1) {
> >> echo "hello $vname";
> >> } else {
> >> ?>
> >> <form action="thispage.php" method=post>
> >> <table>
> >> <tr><td>Input yourname</td><td><input type=text name=vname></td></tr>
> >> <tr><td colspan=2><input type=submit name=submit1></td></tr>
> >> </table>
> >> </form>
> >> <?php
> >> }
> >> ?>
> >> </body>
> >> </html>
> >>
> >> So this page is suppose to display a input box and a submit button
> >> and once
> >> you enter ur name and press the button, it should show Hello [ur
> >> name] and
> >> the input box at the bottom of it and the button below and the process
> >> continue.
> >>
> >> I tried running it and inputted some text and pressed the button, and
> >> the
> >> Hello [ur name] didn't show up, it just display an input box and the
> >> submit
> >> button.
> >>
> >> Can someone please help me?
> >>
> >> Thanks a lot
> >>
> >> Kelvin
> >>
> >>
> >
> >
> >
>
> --
> Lucas Lain
> [EMAIL PROTECTED]
>
>
>


--- End Message ---
--- Begin Message ---
On 2003.02.15 20:11 qt wrote:
I am planning to make a log file with fopen command.

I am succesfully read and write the file with fopen. But as I see
fopen is requiring a file with read and write permission for public.
Not for public, for your webserver user, www-data or another similar name.

I was using same method with perl in cgi-bin directory; but I was
giving read and write permission for only owner.

If I give write and read permission for only owner; fopen command can
not read the file.

Do you have any idea, how can I make log file with protecting from
public?
Give pemissions to your web server user.

Cheers
	Nicholas
--- End Message ---
--- Begin Message ---
Using Apache's main config file (or at a per-directory level using a
.htaccess file), you need to black all .jpg, .jpeg, .gif, .png, .bmp, etc
etc files from being *directly* served via http.

I'm not too good with Apache yet, but an example would be:

<Files ~ "\.jpg$">
    Order Allow,Deny
    Deny from all
</Files>
<Files ~ "\.gif$">
    Order Allow,Deny
    Deny from all
</Files>
<Files ~ "\.jpeg$">
    Order Allow,Deny
    Deny from all
</Files>
<Files ~ "\.bmp$">
    Order Allow,Deny
    Deny from all
</Files>

(you might also choose to block everything in imageDir/, which would also
include the xml file)



Then you need to create a script called image.php which:

a) accepts file=xxxx.xxx in the URL ($_GET)
b) sets the appropriate image header
c) passes the image file though

Instead of you calling
<img src='imageDir/picture.jpg' />

You would call
<img src='image.php?file=imageDir/picture.jpg' />


You also need to ensure that users can't directly call image.php?file=
picture.jpg in the browser, which can also be done with apache / .htaccess
files.


<Files ~ "\image.php$">
    Order Allow,Deny
    Deny from all
</Files>



There's plenty of examples of passing images through in the manual... in
particular one of the user-contributed notes by "lists at darkcore dot net
08-Aug-2002 03:24" at http://php.net/header looks about right.


Justin


on 16/02/03 3:24 AM, Michael Mulligan ([EMAIL PROTECTED]) wrote:

> Perhaps you could further describe such a method? I'm sorry, I just don't
> quite see how this will block the files. Perhaps I should further explain my
> situation.
> 
> The script that I will distribute will always make use of a very particular
> directory structure. In "imageDir", there will always be a specifically
> named XML file that points to a bunch of images in the directory. However,
> given security checks that I put in my script, not all of those images
> should be publicly viewable. However, if a savvy user were to just load this
> XML doc up in their web browser, they will have a complete listing of URLs
> to all of my images. I cannot modify this XML file.  (which is why I want to
> block a user from loading, say myserver.com/imageDir/picture.jpg)
> 
> Will your proposed idea still work in this situation?
> 
> Thanks for your help and patience in this matter. :-)
> 
> On 02/15/03 11:09 AM, "Marco Tabini" <[EMAIL PROTECTED]> wrote:
>> Only if you let them. The PHP script allows to put the appropriate
>> checks in place. For example, if you use sessions, you can verify that
>> the session is still valid and that the user has, indeed, the right to
>> access that image. At a later time, even if another user types in the
>> same URL but does not have a valid session (or a variable inside the
>> session that contains the right data), you would be able to block him
>> from reading the image.
>> 
>> Cheers,
>> 
>> 
>> Marco
> 
> 
> -m^2
> 
> __________
> Hi! I'm a .signature virus! Copy me into your ~/.signature to help me
> spread!
> __________ 
> 
> 

--- End Message ---
--- Begin Message --- I've been trying to fork sendmail because DNS checks cause it to be slow delivering messages...
Here's what i've tried, and many other variations...

$str = "to: [EMAIL PROTECTED]\nfrom: [EMAIL PROTECTED]\nsubject: test";
exec('sendmail -i -t $str >& /dev/null&');

Has anyone successfully acomplished something like this? ideas?

Regards,
Brendon
--- End Message ---
--- Begin Message ---
Hello,

On 02/16/2003 12:15 AM, Brendon wrote:
I've been trying to fork sendmail because DNS checks cause it to be slow delivering messages...
Here's what i've tried, and many other variations...

$str = "to: [EMAIL PROTECTED]\nfrom: [EMAIL PROTECTED]\nsubject: test";
exec('sendmail -i -t $str >& /dev/null&');

Has anyone successfully acomplished something like this? ideas?
You are duplicating a function that sendmail already provides given the right switches. Anyway, if you want to raise the message delivery throughput, the best you can do is to use the deferred mode so it does not take a long time to queue the messages and then sendmail will take care of the delivery next time it runs the queue.

In that case you may want to look at this class for composing and sending messages that comes with sub-class to deliver with sendmail program directly. It comes with options to let you choose the appropriate sendmail delivery mode:

http://www.phpclasses.org/mimemessage

--

Regards,
Manuel Lemos

--- End Message ---
--- Begin Message ---
Hello,

On 02/15/2003 03:10 PM, Mark McCulligh wrote:
I downloaded your mail class and ran the test_html_mail_message.php page. It
worked!
Like you said I am probably getting one of the mail() function bugs or
something. Very interesting that I can send external fine but not internal.

Does the pear mail use the normal PHP mail() function to send? I thought I
read it somewhere.  If it does this is why when I used pear mail to send I
got the same error.
I have no idea because that is an odd situation. The best you can do is to analyse mail logs while you send the message.


Any ways your class works for I will use it.
That's great. This class has been used by so many users that over time several glitches have been ironed out. I use it to send about 2 million messages a month to many tens of thousands of site subscribers. If for some reason it does not work, I get immediate complains from several concerned users.


--

Regards,
Manuel Lemos

--- End Message ---
--- Begin Message ---
Has anyone seen or used this script? It looks fairly straight forward, but I
can't get it to work. It is however, exactly what I need. Any help is
appreciated.

http://codewalkers.com/tutorials.php?show=28&page=1


--- End Message ---
--- Begin Message ---
This one time, at band camp,
"Beauford.2002" <[EMAIL PROTECTED]> wrote:

> Has anyone seen or used this script? It looks fairly straight forward, but I
> can't get it to work. It is however, exactly what I need. Any help is
> appreciated.
> 
> http://codewalkers.com/tutorials.php?show=28&page=1

I never use anything from codewankers or sites like it.
What is it you wish to do?

Kevin

-- 
 ______                              
(_____ \                             
 _____) )  ____   ____   ____   ____ 
|  ____/  / _  ) / _  | / ___) / _  )
| |      ( (/ / ( ( | |( (___ ( (/ / 
|_|       \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
--- End Message ---
--- Begin Message ---
Do you have globals turned on or off?

Ray

On Sat, 2003-02-15 at 21:19, Beauford.2002 wrote:
> Has anyone seen or used this script? It looks fairly straight forward, but I
> can't get it to work. It is however, exactly what I need. Any help is
> appreciated.
> 
> http://codewalkers.com/tutorials.php?show=28&page=1
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
I wish to get this script to work. If you can help it would be appreciated,
whether you personally like them or not. If it works, I don't care if it was
coded by Bugs Bunny.

TIA

----- Original Message -----
From: "Kevin Waterson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 15, 2003 11:34 PM
Subject: Re: [PHP] Forms Help (continued)


> This one time, at band camp,
> "Beauford.2002" <[EMAIL PROTECTED]> wrote:
>
> > Has anyone seen or used this script? It looks fairly straight forward,
but I
> > can't get it to work. It is however, exactly what I need. Any help is
> > appreciated.
> >
> > http://codewalkers.com/tutorials.php?show=28&page=1
>
> I never use anything from codewankers or sites like it.
> What is it you wish to do?
>
> Kevin
>
> --
>  ______
> (_____ \
>  _____) )  ____   ____   ____   ____
> |  ____/  / _  ) / _  | / ___) / _  )
> | |      ( (/ / ( ( | |( (___ ( (/ /
> |_|       \____) \_||_| \____) \____)
> Kevin Waterson
> Port Macquarie, Australia
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
This one time, at band camp,
"Beauford.2002" <[EMAIL PROTECTED]> wrote:

> I wish to get this script to work. If you can help it would be appreciated,
> whether you personally like them or not. If it works, I don't care if it was
> coded by Bugs Bunny.

What is it you wish the script to do?

Kevin

-- 
 ______                              
(_____ \                             
 _____) )  ____   ____   ____   ____ 
|  ____/  / _  ) / _  | / ___) / _  )
| |      ( (/ / ( ( | |( (___ ( (/ / 
|_|       \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia
--- End Message ---
--- Begin Message ---
I am getting this error message when i use file() to convert a text document
to an array.

Warning: file("http://www.something.com/the_filename.txt";) - Error 0 in
/nfs/cust/directory_structure/index.php on line 21

I have looked on google and on php.net/docs for information on this problem
(error 0 and error docs) and i cannot find any. can anyone point me to a php
error documentation file or tell me what is wrong?


--- End Message ---
--- Begin Message ---
How do I call this?

http://www.phpclasses.org/browse.html/file/2202.html

calendar; //gives me nothing.

Prints html header and that's it. It's a class and obviously I don't know what I'm 
doing :)



--- End Message ---
--- Begin Message ---
Hello,

On 02/16/2003 03:25 AM, John Taylor-Johnston wrote:
How do I call this?

http://www.phpclasses.org/browse.html/file/2202.html

calendar; //gives me nothing.

Prints html header and that's it. It's a class and obviously I don't know what I'm doing :)
Have you tried contacting the author? He's probably the person that can help you more than anybody else.

There are other calendar classes like this one that comes with examples:

http://www.phpclasses.org/calendargenerator

--

Regards,
Manuel Lemos

--- End Message ---
--- Begin Message ---
can anybody tell me please how to "call" a website from a php script.

meaning
if (something happens) {goto www.google.com} else {goto www.yahoo.com}

tanks,

christian


--- End Message ---

Reply via email to