Skip to content
WJunction - Webmaster Forum

Search results

  1. S

    PHP header location redirect error in vps

    header('Location: http://whatever.com/index.php?success') Don't use relative url, use absolute url path.
  2. S

    PHP session_start error

    Make sure that there are no blank lines/spaces at the beginning of the config.php and cron2.php Also, make sure that you are calling include("inc/config.php"); as the first line in your php file before doing any other work.
  3. S

    tv show infos

    One of the site that could provide you info is: www.thetvdb.com API: http://thetvdb.com/wiki/index.php/Programmers_API Example: http://thetvdb.com/api/GetSeries.php?seriesname=Mary%20Mary or http://thetvdb.com/api/GetSeries.php?seriesname=Millionaire%20Matchmaker
  4. S

    how to get videoinfo on rdp

    You can get info like this by using mtn: Use mtn with -N option to output info to a file. Also, if you just want in that format, you need to use MediaInfo with custom Templates Example of a template: General : %FileName% Format : %Format%$if(%OverallBitRate%, at...
  5. S

    help with remote upload imgur

    You are getting that error because you are requesting a https secured link. You would have to attach a handler at ServicePointManager.ServerCertificateValidationCallback or use a http version Also, for such simple tasks, you could simply use WebClient, wrapper for HTTPWebRequest Dim...
  6. S

    Help to connect mysql database with C#

    The connection string seems to be fine. Paste the full exception details which you get. Possibilities are since eu5.org is providing free hosting, they would have disabled external connections to the database and hence you are getting the error.
  7. S

    help about css linear-gradient

    He already applied webkit prefix. The problem is that webkit doesn't accepts to syntax atm (eg: to bottom), you need to specify from, like top. However Firefox renders that code pretty well. This code should work out: background: linear-gradient(to bottom, #2681CF 0%, #1966A9 100%) repeat...
  8. S

    Help me with javascript

    Try this regex: S\d+E\d+ or to be more exact: S\d{1,2}E\d{1,3} var filter1 = /S\d+E\d+/; //or var filter1 = /S\d{1,2}E\d{1,3}/;
  9. S

    CSS Margin Help

    This is the cause: #nav { width: 100%; }Since there's a margin right of 10px, 100% width + 10px makes it extend to right. You can fix it in several ways, first of which is that you change width property of #nav to something less (-10px). Or simply remove the margin-left property Or...
  10. S

    [php] Extract tag from html

    Try this: foreach($videoContent->find("ul[class=listCat]") as $content) { foreach($content->find('li') as $li) { $heading = $li->firstChild()->plaintext; //Gets the first child inside the tag with html removed echo "$heading<br />"...
  11. S

    PHP Help Please

    You can use any of these methods: Copy, file_put_contents or curl Assuming $b->poster is the absolute url of imdb poster: $imglink = $b->poster; // http://ia.media-imdb.com/images/M/MV5BMTU1MTAwMjk1NF5BMl5BanBnXkFtZTcwMDI5NDc4Ng@@._V1._SY317_.jpg $name = basename($imglink); //...
  12. S

    Selling LePo - Leech | Add Websites | Forum Poster | Text2IMG | Post Manager | Pic Upload

    Some screenshots have been added at forum --> http://leecher.soft2050.in/forums/showthread.php?tid=141&pid=514#pid514 As for suggestions, please add them only in the thread as emails mostly goes into spam. I would be closing this thread until the release of v4.
  13. S

    PHP Title Error Linking

    I guess currently you are parsing results each time the url is opened. You should store them into a mysql database and then get results. For new additions, you can create new php file that will parse results and add it to database and add a new cron job. This should get you started with storing...
  14. S

    PHP Title Error Linking

    Use urlencode wherever you need to convert variables to query string. $name1=urlencode($name);
  15. S

    [php] Extract tag from html

    Which library are you using for parsing html? Is it Simple HTML Dom? And explain what you mean by "Check is Category is set"
  16. S

    Your views on the following?

    If this is going to be implemented, do add an option to disable it in User CP. It actually seems of no use, no one really want to see whats going on chatbox on each page/thread he visits. Furthermore, multiple requests would be created to get update for cb if many threads are opened. No problem...
  17. S

    Convert PNG files to 8 Bit PNG wih alpha support

    Here are the instructions to compile for other: https://github.com/pornel/improved-pngquant/blob/master/INSTALL Download the whole source, change working directory and read what the first 4 lines says
  18. S

    Convert PNG files to 8 Bit PNG wih alpha support

    You are already on the right track. You just need to pass the info through exec command. Example: exec('"pngquant.exe" -ext _opt.png ' . $path); * Download the files and place it in the same folder as the script you are running
  19. S

    Get Category ID from <select> menu?

    Not sure why you would want to get the selected value to another html element. You can get the same thing by adding name="category_id" attribute to the select tag. Value of category_id when submitted would be equal to the selected item's value
  20. S

    How to integrate two bbcode generator

    Process the bbcode generation for both forum types in the same document and show them on the page.
Back
Top Bottom