No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi all, this is my first post and would appreciate some insight as to where im going wrong. I have the following form that successfully registers a new user to my mysqsl database via PHP - with the following $sql INSERT Function The problem im having is sending the activation … |
|
Re:
Hello guys, I want to put youtube video bar in my website... and i already found the way to do it. Using google ajax search api. Google already provide the wizard to generate the code. [URL="http://www.google.com/uds/solutions/wizards/videobar.html"]http://www.google.com/uds/solutions/wizards/videobar.html [/URL] The problem is, by default it shows only 4 videos for horizontal view. … |
|
Hi, I have been going round in circles for the past few hours and I need some help please with the following header location. [code]header("location: http://www.websitename/members/securecode/index.php");[/code] I have a login script that works great until i get to line 81 ?? the above header location. here is my script - … |
|
Hi all, im looking for some help help, i have this css which looks great, im happy with how the input type text boxes are displayed and the textarea looks neat too - What I cant figure out is when I add a combo box, check box or image I … |
|
Hi everyone, I have been asked to help extract data from a xml file and use the data to input into html form designed in php I have read a few articles but im missing the point some how... On the file that im trying to get the data to … |
|
Hi all - I have a xml file that I am trying to extract data from and create variables to use in a PHP / html form. I am new to extracting information from xml and creating variables The XML file is show below and what I would like to … |
|
Hi everyone, just wondering if its possible to include [CODE] <?php require "../includes/h.php"; ?>[/CODE] into the code below ?? [CODE] echo "<td valign='top'><div class='p'> <hr> add button menu here <hr></div></td>"; echo "</tr>"; [/CODE] I have tried a few different ways adding '..' for concactination to see if that works, but … |
|
Hi all - How can i echo back the value of of the following - If the form has other errors - ie. if a user has missed filling in a field - I can echo other fields if there are errors Im just having some difficulties in echo-ing out … |
|
Hi All, I have found the following css rules on the web.... And whilst they look great in FF, nothing is being displayed in IE Can someone help me out so I can at least see the boxes in IE [CODE] input, textarea { font-size: 0.8em; width: 265px; border: none; … |
|
Hi everyone, I have a pagination script that is working great - What I am trying to is use a variable from the url and insert that into my pagination Here is the working pagination - [code] <?php /* Now we apply our rules and draw the pagination object. We're … |
|
Hi all... I am trying to get data from a table field called "custom" from a mysql database the data is stored as 23-1, where 23 is the id and 1 is the quantity How do I build an array or extract the data and place the values into two … |
|
Hi all, I have ben tring to write some code that will help protect my forms \ data input I have wrote the following for anyone to use \ comment \ edit and improve. Im new to php and have read alot about securing data input from sql injection. If … |
|
Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of … |
|
Hi All, I have a few dos commands that I would like to run / hardcode into my vb6 application my .bat file starts like this @echo off set drive=e:\Backup\ set backupcmd=xcopy /s /c /d /e /h /i /r /y I am setting the drive location using set drive=e:\Backup\ the … |
|
hi all, Im trying to add a "title" to a switch case statement below, but for some reason im unable to complete, what I thought was a simple task. Hope someone can help and explaine the reasons why cheers, Lloyd [code] switch($ad) { case "add1.gif"; header("Location: http://www.google.co.uk"); break; case "add2.gif"; … |
|
Hello all, I have spent a good few days looking over daniweb trying to get the right answer, But I am yet to find what I am looking for. I have successfully upload my image to a folder store and named my uploaded image. The path and file name is … |
|
Hi, I am trying to upload a single image but I keep getting an error that is at the bottom that tells me the upload failed - Its really annoying & I have been going round in circles for days now - here is my php [code] <? //Include database … |
|
Hi, I am new to Linux and I have a wee problem i think this forum can help me with - I have a script that uploads a users profile image successfully to a folder and successfully storing the image path to a mysql database. The problem im having is … |
|
Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - … |
|
Hi, I am using substr to bring back only the first few lines of text from a database field - For example: $message_contents = substr($message_contents, 0, 43); How can I protect against the substr to deliver the next full word ? so, if my 44th,45th,46th charachters were (com) currently the … |
|
Hi all, I have a pagination script that works great apart from one last thing I require some pointers on please. The help i need is with the SELECT query - currently the select query works, but i am bringing back all records, I am trying to bring only certain … |
|
Hi all, I have been doing some reading into security with PHP session data and I have changed a few things around in my script - For example - I am now using $securecode=sha1(uniqid(rand())); as before I was using $securecode=md5(uniqid(rand())); As reading through daniweb has taught me that sha1 is … |
|
Hi, im still pretty new to PHP and I have just started looking into classes / functions and OOP - I have done loads of searching and watching tutorials and learning from others here on daniweb with great pleasure, I was hoping that someone could fix the problem im having … |
|
Re:
So I have a problem. On my site I have a Facebook Likebox the problem is when I run the Firefox extension Page Speed, I am told that the Facebook images that are loading with the Likebox (mostly 50x50 images of avatars of people that already like my company and … |
|
Hi all, can someone help me here - I ave a regisration script where I am uploading an image to mysql, The problem im having at the moment is this..... The script creates a new folder by using the mysql_last_id function as shown below - The problem im having is … |
|
Hi all, im sure this will be areally quick solution for you masters out there, Im trying to create a SELECT query but I am continually getting a parse error ? [code] $query="SELECT * FROM friends WHERE (user_id = '$_SESSION[SESS_MEMBER_ID]' AND request_id = '$profile_id') OR (request_id = '$_SESSION[SESS_MEMBER_ID]' AND user_id … |
|
Hi everyone, Just a quick question please. Its it possible to MOVE index.php files to a different location ?? if companyA registers to advertise would it be possible to move the index.php i have created to [url]http://websitename.com/companyA/index.php[/url] so the complete URL would read [url]http://websitename.com/companyA[/url] Id like to do the above … |
|
Can someone tell me why I am unable to update a table in mysql using php with session data. First of all, I have done some reading around daniweb and Im not sure if i should be using UPDATE or INSERT to update the table. I have session_start(); at the … |
|
Hi all, Im looking for some help with a profile view counter in php. What im trying to do is update mysql db by 1 everytime a profile is viewed. ATM when a profile is viewed, my db is updating every profile by 1 please review my code below and … |
|
HI all, I am teaching myself web design and I am only just getting round to the whole FF / IE css issues. I have a menu system that works great in IE / but not FF and I was hoping someone could point me in the right direction as … |