| | |
i need help, total newb here :)
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2005
Posts: 3
Reputation:
Solved Threads: 0
ok so i need a simple php script, i will give credit to anyone who helps 
---------
cam.php?camera_ip=192.168.2.115
when page loads it loads a windows media player applet thing viewing the media stream at 192.168.2.115
and if its changed to cam.php?camera_ip=192.168.2.169
then it views stream at 192.168.2.169
i need some full working code, i have tried learning php , but i still suck :cry:
:cheesy:
any help will be appreciated and will get credit :eek:

---------
cam.php?camera_ip=192.168.2.115
when page loads it loads a windows media player applet thing viewing the media stream at 192.168.2.115
and if its changed to cam.php?camera_ip=192.168.2.169
then it views stream at 192.168.2.169
i need some full working code, i have tried learning php , but i still suck :cry:
:cheesy:
any help will be appreciated and will get credit :eek:
So... You want all the code to do the entire project? That's a tall order.
What kind of streams are you working with? How do you access them currently?
What kind of streams are you working with? How do you access them currently?
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
•
•
Join Date: Nov 2005
Posts: 3
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by chrisbliss18
So... You want all the code to do the entire project? That's a tall order.
What kind of streams are you working with? How do you access them currently?
like a page of links with each link being cam.php?ip=<ip of cam stream here>
this will save LOADS of time making loads of html pages for every camera

all i need is the code for cam.php, i can handle the intergration into the style
The original code was: This was fixed to produce:
PHP Syntax (Toggle Plain Text)
<object width="350" height="350" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaplayer1"> <param name="Filename" value="<?php print $stream_address; ?>"> <param name="AutoStart" value="True"> <param name="ShowControls" value="True"> <param name="ShowStatusBar" value="True"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="True"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="350" height="350" src="<?php print $stream_address; ?>" filename="<?php print $stream_address; ?>" autostart="True" showcontrols="True" showstatusbar="True" showdisplay="False" autorewind="True"></embed> </object>
PHP Syntax (Toggle Plain Text)
<object width="350" height="350" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaplayer1"> <param name="Filename" value="<?php print $_GET['stream_address']; ?>"> <param name="AutoStart" value="True"> <param name="ShowControls" value="True"> <param name="ShowStatusBar" value="True"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="True"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="350" height="350" src="<?php print $_GET['stream_address']; ?>" filename="<?php print $_GET['stream_address']; ?>" autostart="True" showcontrols="True" showstatusbar="True" showdisplay="False" autorewind="True"></embed> </object>
Did we help you? Did we miss the point entirely? Update your thread and let us know.
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
Don't like the answers you are getting?
Did you try searching?
Clean up and optimize Windows 2000/XP
![]() |
Similar Threads
- total newb - "passing arg 2 of `strcpy' makes pointer from integer without a cast" (C++)
- Registry Cleaner (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: JS Confirm in PHP
- Next Thread: specifying home dir
| Thread Tools | Search this Thread |
apache api array beginner binary broken cache cakephp checkbox class cms code confirm cron curl customizableitems database date display dynamic echo email error external fcc file files folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include insert ip javascript joomla limit link login mail malfunction menu method mlm mod_rewrite multiple mysql neutrality oop pageing pagerank paypal pdf php phpmysql play problem query question radio random recursion remote root script search select server sessions sms soap source space sql support! syntax system table template tutorial update upload url validator variable video web youtube





