Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
60% Quality Score
Upvotes Received
4
Posts with Upvotes
2
Upvoting Members
4
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
2 Commented Posts
0 Endorsements
Ranked #2K
~37.5K People Reached
Interests
Web design & Graphic Design
Favorite Tags

80 Posted Topics

Member Avatar for MDGM

Hi All, Can somebody tell me how I can remove the email addresses I naievely posted in this thread some years ago: http://www.daniweb.com/web-development/web-design-html-and-css/threads/58133/asp-form-action-script I can't seem to find a post edit button.. Thanks, Max.

Member Avatar for pritaeas
0
179
Member Avatar for HB25

try this: [CODE]<?php //do your query $result = mysql_query("SELECT * FROM bookings WHERE bookingID='".$last_insert_booking_id."'"); //because your query uses a primary key, we only have one result and so don't have to use the while function. instead, save all the query results into an array. $result_array = mysql_fetch_array($result); //for each piece …

Member Avatar for minilik
0
3K
Member Avatar for MDGM

After hours of looking on the internet and posting in forums and trying 10 different codes for php script, i start looking in my website providers' help database, and in there (and only in there) do they say that they do not support php form action scripts!?!?! Grr! Can sombody …

Member Avatar for MDGM
0
600
Member Avatar for MDGM

Hi all, I want to make a jmail sendmail script for a form with radio buttons and menus. Below is an example form: [CODE]<form name="form1" method="post" action="survey-code.asp"> <p> <input name="email" type="text" id="email"> </p> <p> <select name="list1" id="list1"> <option>a</option> <option>b</option> <option>c</option> </select> </p> <p> <select name="list2" id="list2"> <option>a</option> <option>b</option> <option>c</option> </select> …

Member Avatar for MDGM
0
205
Member Avatar for MDGM

Hi all, I want to know if it is possible and how to intercept an existing javascript keybind and block it. For example, a website has some javascript that, when the user hits the letter "H" on the keyboard, the website automatically runs a function, e.g. redirecting to another web …

Member Avatar for Airshow
0
293
Member Avatar for MDGM

Is there a way to, when the url changes, intercept it and take the user to a different page? For example, if the user types in "facebook:" and then some other random words, like "facebook: eating my dinner" it takes the user to the facebook share page instead of just …

Member Avatar for MDGM
0
100
Member Avatar for MDGM

Hi all, I'm making some changes to a google chrome extension I made and am having some trouble. Heres my code on a content script page (removeAttr.js) : chrome.extension.sendRequest({greeting: "whitelist"}, function(response) { var whitelist = response.whitelist; console.log(response.whitelist);//working }); alert(whitelist);//alerts "undefined" How do I acess the whitelist variable from outside the …

Member Avatar for Airshow
0
4K
Member Avatar for MDGM

Hi all, I have a site that has a dynamically generated page and looks like this: [url]www.example.com/articles.php?aid=1[/url] [url]www.example.com/articles.php?aid=2[/url] [url]www.example.com/articles.php?aid=3[/url] The page has the article title and description stored in a database and printed in the page itself. How do I go about changing the URL from this: [url]www.example.com/articles.php?aid=1[/url] To this: …

Member Avatar for MDGM
0
142
Member Avatar for super_noobie

yes post code please. without seeing the code i think you have two options: If you have access to the first action page (before paypal) then add this at the very end of the script (before any actual text output): [CODE]<?php header('location: http://www.secondFormAction.com'); exit; ?>[/CODE] which will forward the user …

Member Avatar for sheltonjb
0
212
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, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop …

Member Avatar for almostbob
0
242
Member Avatar for MDGM

Hi all, Im doing my myspace profile and im using submit buttons in a form and the form action as the url for the page that the user gets taken to, however my external links dont work, and i also want them to be opened in a new window. How …

Member Avatar for Pharoah
0
118
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

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder …

Member Avatar for MDGM
0
363
Member Avatar for phpuser

surely just saving the login timestamp updating it every time the page is refreshed and then querying for users where the timestamp is less than x minutes ago are online would be the best answer?

Member Avatar for MDGM
0
117
Member Avatar for MDGM

Hi all, I'm creating different pages on a website for each branch in the country for a business. The way the user gets to their branch is through a dreamweaver generated jump menu. My question is: Will search engine robots crawl the pages that are linked via the jump menu? …

Member Avatar for jaspaltech
0
252
Member Avatar for labelle

bleuh inserting .swf files is such a tricky thing to make browser safe. I find that using the folllowing code that i think dreamweaver gave me is the best iv found! although i have not had much experiance with this at all, i have had some. Below is the code: …

Member Avatar for darshanjeet
0
509
Member Avatar for MDGM

hi all, is there a program that lists all non-default fonts that have been manually installed on your computer? Max

Member Avatar for MDGM
0
92
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 realestninja
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 jakx12

[icode]mysql_query("DELETE FROM user_notifications WHERE username='".$acc."' AND notification='".$note2."' ");[/icode] that should be fine. if its not, try checking your $acc and $note2 variables...

Member Avatar for vinothkumarc
0
315
Member Avatar for plarsen111

Iv editted the code. Use this instead: [code=html]<style> <!-- body{ background-color:#FFFFFF } div#Navigation{ width:115px; font-family:verdana, arial, helvetica, sans-serif; } div#Navigation ul{ list-style:none; margin:5px 0; padding:0; } div#Navigation ul li{ display:block; border-style: single; background-color: #FF0000; padding-right: 5px; text-align: right } div#Navigation ul li:hover{ display:block; padding-right: 5px; text-align: right } div#Navigation ul …

Member Avatar for MDGM
0
132
Member Avatar for MDGM

Hi all, I need to save a number to 3 decimal points, however I want 10.3 to be saved like this: 10.3 not this: 10.300 varchar will not work because ORDER BY rating treats 10 as being lower than 9... So what datatype should I use? Thanks, Max.

Member Avatar for MDGM
0
93
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'm looking for a tutorial on how to make a dynamic flash photo gallery. I want it to do the following: [LIST] [*]Automatically detect images in a folder without having to manually list them in an xml file [*]have simple next and previous buttons [/LIST] I'm not great …

Member Avatar for Jen0608
0
63
Member Avatar for MDGM

Hi all, I know it sounds stupid (the title of this thread) but I am using php to write some hidden fields to a form and when the form is submitted some of the hidden fields are not being sent. They currently only work when google chrome, and do not …

Member Avatar for dickersonka
0
409
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

hii all, I have a 5 star rating system which writes a cookie as the following when the user rates a product: [CODE] $pid = $_GET['pid']; //product ID (primary key) $ratepostpone = 300; //5 minutes until it expires and the user can rate again $cookieroot = '.mysite.com'; //my website's directory …

Member Avatar for MDGM
0
95
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, Once every 2 days or so my screen randomly shows images which look like the screen in these photos: [url]http://www.economizerz.com/other/daniweb/screen/1.JPG[/url] [url]http://www.economizerz.com/other/daniweb/screen/2.JPG[/url] If i leave my computer off for a few hours it fixes itself. I think it is because of a problem with my video card. What do …

Member Avatar for MDGM
0
122
Member Avatar for MDGM

Hi all, I wasnt sure wether to put this in the web design forums or here because it contains a bit of both - im not sure if the concept is even possible but its very interesting, possibly difficult and longwinded but potentially very rewarding [B]First a bit of background …

0
72
Member Avatar for MDGM

Hi all, index.php = [CODE]<?php include('1.php'); ?>[/CODE] when a search engine finds and indexes this page, will it read nothing or will it read the contents of 1.php too? Im guessing because its a server-side script the document will be merged and then sent to the search engine so it …

Member Avatar for MDGM
0
104
Member Avatar for MDGM

Hi all, I am trying to edit [URL="http://www.dynamicdrive.com/dynamicindex8/ddwindowlinks.js"]this script[/URL] so that it not only changes offsite targets to _blank, but also changes their href from their original link, to [url]http://www.mydomain.com/externallinks/+origionallink[/url] Can somebody help me find out what is wrong with this script? It is editing the target and href of …

Member Avatar for MDGM
0
275
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 found a script on dynamic drive that makes all links linking to a page that is on another website open in a _blank window. ([url]http://www.dynamicdrive.com/dynamicindex8/newwindow2.htm[/url]) I have just finished creating a page which has 2 frames: 1) At the top with my logo and menu on it …

Member Avatar for MDGM
0
174
Member Avatar for poes

I had exactly the same problem. I used JMAIL with mine. this resolved the problem. This is where i got an example code: [URL]http://www.webwizguide.info/asp/tutorials/email_using_jmail_tutorial.asp[/URL]. If i were you, go ahead and download the sample forms from here: [URL]http://download.webwizguide.info/asp_tutorials/JMail_web_based_email_tutorial_v1.0.zip[/URL]. they contain 4 email samples and is very good for making jmail …

Member Avatar for vincearcuri
0
268
Member Avatar for MDGM

Hi all, Im editting a whois script so when it returns the details of the whois search it returns one positive answer if the "loggedin" cookie is found, and another positive answer if it is not, and a negative one if the domain is taken. The whois script works fine …

Member Avatar for MDGM
0
193
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 guys, I found a simple whois script and intregrated it completely into my site before testing it on IE (oooops!) and it only works on firefox and safari. On IE the result text that should be written as a result of the below section of the code: [CODE]if (eregi('No …

Member Avatar for MDGM
0
181
Member Avatar for MDGM

Hey, Simple javascript problem: user enters desired domain name into "domain" field and submits, php scripts check if domain is available. If it is, a paypal add to basket button is written onto the page, however i cannot use php to get the content of the "domain" field and put …

Member Avatar for R0bb0b
0
100
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 akshit

Hi, I just want to say that Iv only been doing php for a few days now but i think i can give you a good answer. You want a drop down menu which decides which database the next page connects to only using html and php? Form page: [CODE] …

Member Avatar for akshit
0
140

The End.