- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 2
- Upvoting Members
- 4
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- Interests
- Web design & Graphic Design
80 Posted Topics
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. | |
Re: 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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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: … | |
Re: 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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: 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? | |
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? … | |
Re: 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: … | |
hi all, is there a program that lists all non-default fonts that have been manually installed on your computer? Max | |
(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 … | |
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 … | |
Re: i need a php script to terraform the globe.. help pls ktnxbai | |
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 … | |
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. | |
Re: [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... | |
Re: 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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
Re: 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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: 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] … |
The End.