Hi
I bought an Ad Network script and I do not believe that the readfile.php is coded right. The script will not show the videos or the images.
The publisher or advertiser will upload a video or a image and then the script should load the image and video on to that page for them to see how their ad will look.
The source code shows that it generates the address to the video and the image file properly, but the video and the image will not show up.
When I create a static html page from the source code of that dynamic page and strip out the " readfile.php?f= " from the output, then the files will show up. So, I suspect that the readfile.php is not calling the files properly.
Below is part of the source code snippet from the generated html page. ( I changed the name of my website to "my-website.com"
codebase='http://download.macromedia.com/pub/shoc ... on=6,0,0,0' width='"+F.layoutWidth.value+"' height='"+F.layoutHeight.value+"'> <param name=movie value='http://www.my-website.com/images/flvpla ... ite.com/[b]readfile.php?f= [/b]upload%2Fusers%2Fvideo_default_1026.flv&image=http://www.my-website.com/images/sample ... tart=false&'> <param name=quality value=high> <param name=bgcolor value=#ffffff> <embed name='vid1' src='http://www.my-website.com/images/flvpla ... ite.com/[b]readfile.php?f= [/b]upload%2Fusers%2Fvideo_default_1026.flv&image=http://www.my-website.com/images/sample ... tart=false&' quality=high bgcolor=#ffffff width='"+F.layoutWidth.value+"' height='"+F.layoutHeight.value+"' align='' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashpl ... d></object> ";
My question is this. If I were to make a new readfile.php to use with this script, what code snippet would I use?
Thanks for your help
Need help with - readfile.php
Moderator: General Moderators
-
supersmartads
- Forum Newbie
- Posts: 2
- Joined: Sun Jan 16, 2011 2:02 am
-
jankidudel
- Forum Commoner
- Posts: 91
- Joined: Sat Oct 16, 2010 4:30 pm
- Location: Lithuania, Vilnius
Re: Need help with - readfile.php
Do you mean what file your script would use ?
1. You can't create 2 files with the same names in the same directory.
2. If you want to try to modify your script , just can copy it and paste to another file, name him readfile.php, and change the name of your original file as you wish. I hope it will help you.
1. You can't create 2 files with the same names in the same directory.
2. If you want to try to modify your script , just can copy it and paste to another file, name him readfile.php, and change the name of your original file as you wish. I hope it will help you.
-
supersmartads
- Forum Newbie
- Posts: 2
- Joined: Sun Jan 16, 2011 2:02 am
Re: Need help with - readfile.php
The problem is that the maker of the script incrypted the readfile.php with ioncube. The script will not work properly and I believe it is because the readfile.php is not coded right. I want to remove the original file and replace it with another of my own to test my therory out. I just need some ideas of what code to use to test. The script writer is not helping very well on the matter and I am loosing business waiting for him to fix it. 
-
jankidudel
- Forum Commoner
- Posts: 91
- Joined: Sat Oct 16, 2010 4:30 pm
- Location: Lithuania, Vilnius
Re: Need help with - readfile.php
You can either kill your scripter and get someone else to help you with your business
or just get another scripter without killing him.