1
yomamaii
SSL implementation
  • 2004/12/16 2:51

  • yomamaii

  • Just popping in

  • Posts: 4

  • Since: 2004/8/15


Okay guys I have done a search on SSL, HTTPS and herko. To no avail. It seams that no one has had problems with the images and css files not being resolved. Thus when you installed a SSL Cert and try to browse viahttps://www.yourdomain.com your site looks really bad. Any ideas as how to fix this? I need your help, please.

Thank you in advanced.



2
yomamaii
Re: No lock when using SSL (general xoops pages)
  • 2004/12/16 2:03

  • yomamaii

  • Just popping in

  • Posts: 4

  • Since: 2004/8/15


I tried this code and now my images do not show up any suggestions?



3
yomamaii
Re: Trouble implementing SSL login
  • 2004/12/16 2:02

  • yomamaii

  • Just popping in

  • Posts: 4

  • Since: 2004/8/15


Any luck with the images not showing up?



4
yomamaii
Re: xmovietimes multiple theaters
  • 2004/11/29 4:09

  • yomamaii

  • Just popping in

  • Posts: 4

  • Since: 2004/8/15


Okay guys don't laugh to hard when you see this. Here are the changes to add multiple theaters:

functions.php

Added this function:

function setTableID($tableID)
{
$this->tableID = $tableID;
}

common.php

For ever theater that shows up in my area I added one of these code blocks:

// not changed
$a = new YahooMovieTimeRipper("http://movies.yahoo.com/showtimes/showtimes.html?z=23228&sim#T1");
// end not changed

// changed
// get the date, movie, and theater info
$datesT1 = $a->getDateInfo();
$moviesT1 = $a->getMovieInfo();
$theatersT1 = $a->getTheaterInfo();

$a->setTableID("T2");
$datesT2 = $a->getDateInfo();
$moviesT2 = $a->getMovieInfo();
$theatersT2 = $a->getTheaterInfo();

$a->setTableID("T3");
$datesT3 = $a->getDateInfo();
$moviesT3 = $a->getMovieInfo();
$theatersT3 = $a->getTheaterInfo();

...

mymovies.php

For ever theater that shows up in my area I added one of these code blocks: Make sure you match the variable names up for each table that represents the theater. So if you want to display the nineth theater you need to make sure that all the variables have T9 on the end. Which should match the code(variables) that you added in the common.php file.

<table border="1">
<tr>
<td colspan="6">
<a href="<?php echo $theatersT1->infoURL;?>" target="_new"><?php echo $theatersT1->name;?></a> -- <?php echo $theatersT1->address;?> (<a href="<?php echo $theatersT1->mapItURL;?>" target="_new">map it</a>)
</td>
</tr>
</table>
<table width="100%" border="1" colspan="6">
<tr>

<td>Title</td>
<td>MPAA Rating</td>
<td>Run Time</td>
<td>Showings</td>
</tr>


<?php
for($i=0; $i<sizeof($moviesT1); $i++)
{
?>
<tr>
<?php
// prevent putting links on when no url exists
if($moviesT1[$i]->URL != '')
{
?>
<td><a href="<?php echo $moviesT1[$i]->URL;?>" target="_new"><?php echo $moviesT1[$i]->title;?></a></td>
<?php
}
else
{
?>
<td><?php echo $moviesT1[$i]->title;?></td>
<?php
}
?>
<td><?php echo $moviesT1[$i]->rating;?></td>
<td><?php echo $moviesT1[$i]->runTime;?></td>
<td><?php echo $moviesT1[$i]->showings;?></td>
</tr>
<?php
}
?>
</table>

Please if you can optimize this code in anyway I would appreciate it. This is my first time using php so all I can say is it works. Ugliest hack ever, but it works.




TopTop



Login

Who's Online

178 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 178


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits