Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~21.9K People Reached
Favorite Tags

57 Posted Topics

Member Avatar for iniyanmani
Member Avatar for OS_dev
-1
8K
Member Avatar for theimben

I want to make an FLV player which I can embed in web pages. Ive found some tutorials on the internet but they are very basic and because I don't know a whole lot about flash I cant improve on these. If I'm doing this wrong, don't flame me. Im …

Member Avatar for tdjprj
0
152
Member Avatar for theimben

I have ESET Nod 32 Internet Security running and it says I have a virus in my memory and it's unable to delete it. My programs are constantly crashing and Im using around 3 of 4 GB of memory. How can I fix this?

Member Avatar for Godsp3ed
0
187
Member Avatar for realnsleo

I wouldnt recomend doing this through PHP, I would use .htaccess. Just search on Google, there are loads of tutorials on it :)

Member Avatar for theimben
0
114
Member Avatar for theimben

I run a vBulletin forum and Im trying to write a new BB Code. This would be the syntax: [CODE][parts] http://www.link1.com http://www.link2.com http://www.link3.com [/parts][/CODE] This would then be parsed into: [CODE=html] <a href="http://www.link1.com" class="linkclass">Anchor 1</a> <a href="http://www.link2.com" class="linkclass">Anchor 2</a> <a href="http://www.link3.com" class="linkclass">Anchor 3</a> [/CODE] Im a real regex newbie, I …

0
67
Member Avatar for theimben

Ive written an image preloading script but Im not sure if it would work. Could someone look at it and just clear up wether it should work or not [CODE]<html> <head> <script type="text/javascript"> function preloader() { // counter var i = 0; // create object imageObj = new Image(); // …

Member Avatar for essential
0
304
Member Avatar for theimben

I need something to read all files in a directory and all files in child directories and any directories below this. Could someone provide a snippet for me. Thanks :)

Member Avatar for kireol
0
266
Member Avatar for theimben

I have this code so when a user clicks a div they get taken to another page, just like the <a> tag. However I want it to open in a new page like target="_blank" but I dont know how. this is my code so far. Please help [CODE=html] <div onclick="location.href='http://linky.com';" …

Member Avatar for theimben
0
139
Member Avatar for theimben

I want to redirect a user after a few seconds without using javascript. Is this possible? Thanks.

Member Avatar for theimben
0
119
Member Avatar for theimben

I want to check if a key exists in a MySQL DB. I can do this ok but I would need to create a new key if it does exist. So this is the function that makes the key: [code=php] function keygen($a){ $b = str_shuffle('abcdefghijklmnopqrstuvwxyz1234567890'); return substr($b,0,$a); } [/code] So …

Member Avatar for rm_daniweb
0
163
Member Avatar for thebigpicture
Member Avatar for thebigpicture
0
121
Member Avatar for khr2003
Member Avatar for cwarn23
0
1K
Member Avatar for veledrom
Member Avatar for theimben

Ive got an RSS parser using the DOM. Its got a loop to display each item. I want to have a hidden field on each item then post this to another page. Im having trouble counting each item in the loop. Help please :) This is what ive got: [code=php]<?php …

Member Avatar for pritaeas
0
80
Member Avatar for theimben

Im trying to detect the format of an image. But I get a parse error [PHP]<?php $filename = 'http://static.php.net/www.php.net/images/php.gif'; $file = fopen($filename, 'rb'); $size = getimagesize($file); switch ($size['mime']) { case "IMAGETYPE_GIF": echo "Image is a gif"; break; case "IMAGETYPE_JPEG": echo "Image is a jpeg"; break; case "IMAGETYPE_PNG": echo "Image is …

Member Avatar for pritaeas
0
77
Member Avatar for theimben

When posting a long line of code it goes down to the next line...for example: [code=php] $errormessages = array( 'nosearch' => 'Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>', 'captcha' => 'The captcha you entered was incorrect, please try again.',); [/code] Would it be possible to …

Member Avatar for verruckt24
0
160
Member Avatar for theimben

Theres a bug in the control panel where the sidebar on the right overlaps the control panel slightly.

Member Avatar for Dani
0
58
Member Avatar for theimben

I want to use $_GET['error'] to fetch error messages from an array. Heres my array: [code=php] $errormessages = array( 'nosearch' => 'Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>', 'captcha' => 'The captcha you entered was incorrect, please try again.',); [/code] So if I did [ICODE]echo …

Member Avatar for Shanti C
0
207
Member Avatar for theimben

On my MySQL search what I want to do is redirect a user to another page and show an error message if the search returned no results. But for some reason the user never gets redirected. Can you spot my problem? :| [code=php] $sql = "SELECT * FROM `list` WHERE …

Member Avatar for vinothkumarc
0
87
Member Avatar for theimben

Im sure this has been discussed endless times but I can't find anything which will do it how I want to. I want to seemlessly execute some PHP onclick. It will just update a row in MySQL and I dont want the user to be aware of this happening. How …

Member Avatar for essential
0
81
Member Avatar for theimben

Ive got a MySQL search, which searches an index of urls. The search parameter searches titles. What I want to do is have something like Google. So, if someone searches: [CODE]site:example.com something to search[/CODE] It would look for example.com in one column then from those results it would look for …

Member Avatar for theimben
0
1K
Member Avatar for Shanti C

Theres not a secure way to transfer data through a URL even if you cover it with .htaccess because its still accessible.

Member Avatar for Shanti C
0
5K
Member Avatar for theimben

Im having trouble ending sessions for some reason :| Heres my code. Can anyone see what the problem is? [code] <?php include('includes/config.php'); unset($_SESSION['isLogged']); session_destroy(); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </HEAD> <BODY> <?php echo '<div class="nav">'.$navigation.'</div>'; ?> You have been logged out. </body> </html> [/code]

Member Avatar for nav33n
0
112
Member Avatar for theimben

Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem …

Member Avatar for cwarn23
0
99
Member Avatar for theimben

Im using vBulletin and Im making a little script which needs to integrate with it. But due to vBulletins lack of PHP plugin support I have to use a client side language to make it work. So I have this script, its queries a database and has pagination. I want …

Member Avatar for theimben
0
71
Member Avatar for theimben

Im trying to delete records. Most delete ok but some don't and Im completly lost as to why... The information Im storing are just URLs. Could it be to do with some irregular characters within these URLs? Is there a recomended way to store a URL? Please help me out. …

Member Avatar for theimben
0
137
Member Avatar for progurammaar

This is in the wrong section. But there are lots of errors in your code. [url]http://validator.w3.org/[/url]

Member Avatar for theimben
0
93
Member Avatar for zerugaze

[QUOTE=scrager;809282]in this case I would use split. [code=php] $parts = split(":", "table:column"); $parts[0] //table $parts[1] //column [/code][/QUOTE] Whats the difference between that and explode?

Member Avatar for jedi_ralf
0
150
Member Avatar for theimben

Can anyone see anything wrong with this. Im stuck :( [code=php] $sql1 = mysql_query("DELETE FROM spider WHERE url='$addtolist'"); if (!mysql_query($sql1,$con)) { die('Error Deleting: ' . mysql_error()); } echo "Record Deleted <br />"; $sql2="INSERT INTO list (title, url, description) VALUES ('$title','$url','$description')"; if (!mysql_query($sql2,$con)) { die('Error Adding: ' . mysql_error()); } echo …

Member Avatar for theimben
0
120
Member Avatar for rEhSi_123

There are loads of tutorials for this. I found [URL="http://www.phpeasystep.com/workshopview.php?id=12"]this one[/URL] best.

Member Avatar for Will Gresham
0
99
Member Avatar for theimben

This query doesn't work. What have I dont wrong? [code=php] mysql_query("INSERT INTO list (title, url, description) VALUES ('$title', '$addtolist', '$description') DELETE FROM spider WHERE url='$addtolist'"); [/code] Heres the whole page if it makes things clearer. [code=php] <?php include('includes/config.php'); $addtolist = $_GET['add']; $open = file_get_contents($addtolist); $title = get_inner_string($open, '<title>', '</title>'); $description …

Member Avatar for theimben
0
103
Member Avatar for theimben

Ive got a basic moderation script to create but Im stuck as to how to do it because there would be too much data to transfer as post data. So heres the premise [code=php] $result = mysql_query("SELECT * FROM whatstobemoderated"); while($row = mysql_fetch_array($result)) { echo '<input type="checkbox" name="url">' . linkify($row['url']); …

0
65
Member Avatar for theimben

Ive got a button which works fine in FF but not in IE. All it is is a hyperlinked div. But IE users can't click the button. Anyone know a work around for this. Im not very experienced in cross-browser coding :confused: [code=HTML]<html> <head> <style type="text/css"> .partdiv { background-image: url('http://www.theflickzone.com/movieimages/part.png'); …

Member Avatar for MidiMagic
0
99
Member Avatar for theimben

On my site lots of images are being used which are currently being stored on my server. But bandwidth is increacing quite alot and I want to store them on somewhere like Tinypic or Imageshack So my request is an image uploader to a free host using cURL. What I …

Member Avatar for theimben
0
86
Member Avatar for jyotiu

When getting data from other websites remember on that webpage if they are getting stylesheets and javascript files from other places they will be relative to the original page. So make sure you check the page you are copying before hand. And try this, it worked for me... [code=php] <?php …

Member Avatar for theimben
0
106
Member Avatar for 2bu

You need to make sure that your server will behave in the same way your server did. To test PHP. On your server create a new file then use the [URL="http://uk.php.net/manual/en/function.phpinfo.php"]PHP info[/URL] function to see what php specs the server has. Then make sure your computer has this. You will …

Member Avatar for theimben
0
86
Member Avatar for theimben

I need to use ajax to make this whole process smoother. Here is a demo: http://www.theflickzone.com/dev/ If anyone can do this for me I will pay a few $ via paypal to say thanks :) Contents of index.html <form action="return.php" method="POST"> <p>IMDB URL: <input type="text" name="imdb" autocomplete="off"></p> <p>Links(line by line): …

Member Avatar for theimben
0
127
Member Avatar for theimben

[code=html] <form action="search.php?q=VALUE" type="post" /> <input type="text" id="textbox" name="poster" size="25" /> <input type="submit" class="button" value="Go" /> </form> [/code] I have this form....What I want is for where it says VALUE to change in the forms action to be the same as what is in the textbox. I cant find anything …

Member Avatar for essential
0
204
Member Avatar for theimben

Hi, I have these two files...index.html and handle.php Index.html has a form on it which is sent to handle.php. This file takes the data sent from index.html then processes it and returns some text. What I want to do is 'Ajaxify' this whole process, so to speak. How can I …

Member Avatar for Luckychap
0
98
Member Avatar for theimben

Im using [URL="http://uk2.php.net/manual/en/function.get-browser.php"]get_browser[/URL] and I only want to echo parts of what is returned. So say for example I just want to echo platform and browser from what the array returns. How would I do that. Thanks :)

Member Avatar for theimben
0
172
Member Avatar for theimben

I have this... [code=php] <?php $links = explode("\n", $_POST['links']); foreach ($links as $links) { echo '[PART="NUM"]'.$links.'[/PART] <br />'; } ?> [/code] Where it says NUM I want the number of its position in the array. So if I fed this to this script: [CODE] http://www.google.com http://www.yahoo.com http://www.ask.com [/CODE] The script …

Member Avatar for almostbob
0
102
Member Avatar for theimben

Ok, Im about to rip my hair out in frustration; either IMDB is really good at what they do or I am really bad at what I do :crying: What Im trying to do is get posters from a given IMDB movie page. I can get the URL for the …

0
43
Member Avatar for theimben

Hello, I need some help. Ive got this script which scrapes the [URL="http://www.imdb.com/chart/top"]IMDB top 250 movies[/URL] list. What Im trying to do is add a search link next to the year bit. Ive got it partially working with str_replace but it only adds the link to the first movie. [URL="http://www.theflickzone.com/misc.php?do=page&template=top250"]See …

Member Avatar for digital-ether
0
106
Member Avatar for alipourhadi

Can you post your whole script please. You would need to use curl to login to Rapidshare then take the data.

Member Avatar for digital-ether
0
108
Member Avatar for adamthegreat

You would need to push the domain to them. I have never used Godaddy before but I know you can push domains to other users on there. You will probably need to ask them for their Godaddy username and then push it to them. Ask for support on Godaddy, you …

Member Avatar for ccube921
0
102
Member Avatar for cali_dotcom

[code=php] <?php if (date('j, n, Y') == '10, 3, 2009') { mail('[email protected]', 'Subject', 'Message'); } ?> [/code] Ive not tested it but it should work :)

Member Avatar for mschroeder
0
543
Member Avatar for theimben

How would I import a database which is more than 50MB. PhpMyAdmin only allows below 50MB. Ive tried compressing the data but it doesnt work because it takes the decompressed size. So how would I do this?

Member Avatar for mwasif
0
73
Member Avatar for theimben

Hello. Ive got this script which scrapes [URL="http://www.imdb.com"]IMDB[/URL] for their top 250 movies list but its not parsing and Im not sure why. Could you help me out please.... [code=php] <?php function get_inner_string($a,$b,$c) { $y = explode($b,$a); $x = explode($c,$y[1]); return $x[0]; } //Get Page $file = 'http://www.imdb.com/chart/top'; //Open Page …

0
60
Member Avatar for theimben

Im tring to replace a string. But it just doesnt work for some reason. Ive tried str_replace and preg_replace but neither have worked. My script basically caches a webpage then replaces a given string. The problem is replacing the string then saving it. Could you please help me out... [code=php] …

Member Avatar for mschroeder
0
179
Member Avatar for theimben

Im not sure what Im doing wrong here but basically this script scrapes pages. The array has 3 urls to scrape but it doesnt work. Could someone please show me where Im going wrong. [code=php] <?php $req_url = array('http://www.first.com', 'http://www.second.com', 'http://www.third.com'); function get_head($a,$b,$c){ // Gets a string between 2 strings …

Member Avatar for theimben
0
129

The End.