23 Solved Topics

Remove Filter
Member Avatar for MDGM

Hi all I need a javascript code that removes all the title="*" attributes in a page, where the star (*) represents a wildcard for the content of the title attribute. So the following would occur: <a href="#" title="test">test</a> would be replaced with <a href="#">test</a> just like: <a href="#" title="">test</a> would …

Member Avatar for MDGM
0
193
Member Avatar for MDGM

Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX

Member Avatar for MDGM
0
195
Member Avatar for MDGM

hi all, Im desperatly looking for a .db format rhyming dictionary and have managed to get hold of three database files which I think will be VERY useful to me but I cannot open them. Can anybody help me to get them open? I have attached the files in a …

Member Avatar for MDGM
0
201
Member Avatar for MDGM

(I wasn't sure where to put this thread so move it if you need to! :]) I want to be able to send a text message to my mobile phone whenever I get an email through from my website (the sending of the message would ideally be done using PHP …

Member Avatar for itisnot_me
0
130
Member Avatar for MDGM

Hi guys, I have a simple registration form and have had trouble getting it to check if the username is already taken in the database. This is what I have at the moment: (the code i tried to use to make the check is about half way down) [CODE] <?php …

Member Avatar for allihoge
0
2K
Member Avatar for MDGM

Hi all, I'm looking for a flash video player tutorial / open source .fla file with simple features e.g. buffering progress, play/pause, stop & scollbar. I also need to be able to dynamically load the video file either using a GET method from the address bar or by using PHP …

Member Avatar for peter_budo
0
286
Member Avatar for MDGM

Hi all, I need to do a query like this: [CODE]SELECT * FROM table1 WHERE ( SELECT COUNT(*) FROM table2 WHERE fbid = *current primaryKey*) > 150[/CODE] How do I get the *current primaryKey* in order to do the second section of the query? Max.

Member Avatar for nav33n
0
3K
Member Avatar for MDGM

Hi, Im having a wierd problem with my mysql query: I have entries in my database with a rating (out of 10) and a timestamp, and I want to pull out the highest rated entry from the past 30 days. These are the entries I have: [CODE]Primary key ----------------- Rating …

Member Avatar for MDGM
0
111
Member Avatar for MDGM

Hi all, I have a shopping basket feature on my website which saves the product's primary key in the session array called 'cart', each one seperated by a comma, so example: '123,456,789'. Now in order to get each item from my shopping basket to paypal I need to write 2 …

Member Avatar for MDGM
0
122
Member Avatar for MDGM

Hi all! Im making an upload script that uploads an image file, saves it and saves a thumbnail copy in a different directory. I have tried a couple of scripts and have found one which I think will work nicely but i cannot get it working. The script is below: …

Member Avatar for MDGM
0
121
Member Avatar for MDGM

Hi all, Iv made a simple 5 star voting system and need a way to make sure the user can't vote on the same product again in the next hour. I'm not a mathmatician and get really confused with the time calculations and have tried quite a few methods now …

Member Avatar for MDGM
0
142
Member Avatar for MDGM

Hi all, Iv looked at quite a lot of forums and cannot get the code to work properly for searching multiple search terms. I have tried exploding the search string and then doing a search similar to this: WHERE fullname LIKE '%$1%' OR fullname LIKE '%$2%' but it has not …

Member Avatar for MDGM
0
178
Member Avatar for MDGM

hi all, I'm using dreamweaver templates to make my site, however when I want to use the session_start(); function in php, the headers have already been sent because dreamweaver writes the following into the page: [CODE]<!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" --> [/CODE] and so I am having to put in the …

Member Avatar for scru
-1
162
Member Avatar for MDGM

Hi, Im making a 5 star rating system but half the time it has the complete wrong result. I have gone over and over the script and checked the sums with a calculator and it is still doing something wierd. Sometimes when I rate it above it's current rating it …

Member Avatar for MDGM
0
163
Member Avatar for MDGM

Hi all. I basically need to know how to get a link's href value using the getelementbytagname code and storing that value in a variable so it can be used later in the same function. Thanks, Max

Member Avatar for MDGM
0
3K
Member Avatar for MDGM

Hi all, I have a registration form on my website which once filled in, it sends an email to the user with a link to "verify their email address". This link holds all of the information entered by the user in the form and looks something like this: [url]http://www.example.com/confirm.php?firstname=john&lastname=smith[/url] When …

Member Avatar for MDGM
0
169
Member Avatar for MDGM

Hi all, I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database. I cant find any infromation about any kind of AND function or …

Member Avatar for nav33n
0
122
Member Avatar for MDGM

Hi all =] I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename, which is then called into a hidden field so when the …

Member Avatar for MDGM
0
154
Member Avatar for MDGM

Hey, Im just wondering how i can get something like this to work: [CODE] $tablename = $_POST['tablename']; mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL)) [/CODE] At the moment its coming up with an error because I am using a variable for the table name instead of inputting it …

Member Avatar for MDGM
3
3K
Member Avatar for MDGM

Hi all I guess this post kind of vaguely slightly possibly fits into this forum sorry :P but I know daniweb is very reliable for help so i thought id post on here. Basically I need to register a website that I had registered this time last year, but a …

Member Avatar for peter_budo
0
138
Member Avatar for MDGM

Hey guys, I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say: IF hidden field value from the previous page is empty then the hidden field value should be …

Member Avatar for MDGM
0
91
Member Avatar for MDGM

Hey, Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just under the form. At the moment the user types in any domain type (.co.uk / …

Member Avatar for MDGM
0
74
Member Avatar for MDGM

Hi, How do I make it so when I click a link on page A, it opens page B in a new window, and page A goes to a specified page? This is the page: [URL]http://www.swmassive.co.uk/forums.html[/URL] I want to make it so when the user clicks view, the forums page …

Member Avatar for unitechy
0
95

The End.