• Welcome to TodayPlus Boards v2.
 

News:

No news is good news.

Main Menu

Movie Listings

Started by MadTxn, January 02, 2004, 09:50:51 AM

Previous topic - Next topic

MadTxn

I just checked the PHP manual, and you need to have version 4.30 or higher for this to work.  Sorry...

You know what?  I'm not sorry.  Upgrade or else. :twisted:

fishboy

Well I believe that the to use the function "file_get_contents" requires version 4.3.0 or higher, so you might want to find out what version you have and have your son upgrade the server it is lower than this version.

EDIT:  Looks like MadTxn is a faster gun slinger than I, beat me to the draw.
Axim X5 Advanced, Windows Mobile 2003

joelw135

My son spoke to the owner of his server and he is unwilling to upgrade or even tell him what version he has.

Is there another command that can replace the get command?
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

MadTxn

Well, changing the command will make the script take longer to run, and will be more memory intensive on the server.  Maybe our fine host would be willing to host the file for a few people.

joelw135

Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

MadTxn

Because I'm just a Prime Specimen of Manhood©, and because you've been so nice about it, I edited the script just for you.  Enjoy.

joelw135

You are indeed a scholar and a Gentleman.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

Works great, and fast. Thanks again.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

MadTxn

Not a problem.  Also, for future reference, if you place a file with the following in it:


<?php
phpinfo
();
?>



it will tell you the PHP version, along with a buttload of other stuff.

joelw135

If at a later date I want to add another theater, all I would do is add the &theater2=Name&zip2=zip Is that correct?
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

MadTxn


joelw135

Ran into a problem. the script would take so long to download the information, that it would not sync TodayPlus. If I did it via wi-fi it would work, but not in the cradle. I removed that rss feed and it would sync fine. Back to the drawing board. Got to find another host.

Anyone know a free PHP host in the USA?


Used your script and found out that the server is running 4.2.2 PHP.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

joelw135

I think I have found a temporary fix for the movie times refresh problem. What I did was move the movie RSS to the first on the list. This way it gets the hard to sync info first.  I have tried it a few times, and seems to work. I will see later when the net is filled with users.

P.S. It takes around 2 minutes to full refresh. It used to take aprox 30 seconds.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket

LawofA

Quote from: joelw135If at a later date I want to add another theater, all I would do is add the &theater2=Name&zip2=zip Is that correct?

Hi Guys:

Where will this line go in the script? Secondly, I am not getting any details with the downloads. Is there anything I an not doing right?

Thanks.

LawofA

joelw135

That line is part of the line you use in the config file to call the server for information.
The example below is what the line would look without a server selected.
You need a host to carry the script, that the line below calls.

http://server name/server directory/listings_rss.php?theater=Regal commerce Center 18&zip1=08824

And of course you must change the theater and the zip to what you want.
Dell Axim X3i, Windows Mobile 2003
512mb Kingston SD card
256mb Lexar SD card
Today Plus
WisBar Advanced
PIEPlus
DotPocket