Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~34.9K People Reached
Favorite Tags

45 Posted Topics

Member Avatar for LloydFarrell

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 …

Member Avatar for sbaset
0
14K
Member Avatar for joemalaya

Gents hi, I am interested in adding a youtube facility to a website I am building, where users can search youtube from thier profile and have the videos played via the youtube player. can you point me in the right direction for an information regarding this, regards lloyd

Member Avatar for Mostarac
0
551
Member Avatar for LloydFarrell

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 - …

Member Avatar for Kadafiz
0
538
Member Avatar for LloydFarrell

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 …

Member Avatar for saliha
0
217
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
608
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
148
Member Avatar for LloydFarrell

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 …

Member Avatar for chrishea
0
109
Member Avatar for LloydFarrell

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 …

Member Avatar for vibhaJ
0
200
Member Avatar for LloydFarrell

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; …

Member Avatar for LloydFarrell
0
190
Member Avatar for LloydFarrell

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 …

Member Avatar for tomato.pgn
0
123
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
101
Member Avatar for LloydFarrell

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 …

Member Avatar for Borzoi
0
160
Member Avatar for LloydFarrell

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 …

Member Avatar for chrishea
0
130
Member Avatar for LloydFarrell

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 …

Member Avatar for vb5prgrmr
0
544
Member Avatar for LloydFarrell

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"; …

Member Avatar for syamsasi
0
747
Member Avatar for LloydFarrell

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 …

Member Avatar for metalix
0
469
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
86
Member Avatar for LloydFarrell

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 …

Member Avatar for rch1231
0
277
Member Avatar for LloydFarrell

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 - …

Member Avatar for vaultdweller123
0
88
Member Avatar for LloydFarrell

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 …

Member Avatar for kc130
0
138
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
215
Member Avatar for LloydFarrell

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 …

Member Avatar for Zagga
0
530
Member Avatar for LloydFarrell

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 …

Member Avatar for rajarajan2017
0
253
Member Avatar for SerjSagan

Hi im not sure if this is what you are looking for, but ove the last few months I have been looking into how we view images from mysql database. If you can get the image to the database ie. img1 field name, you could then pull the image from …

Member Avatar for SerjSagan
0
289
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
192
Member Avatar for LloydFarrell

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 …

Member Avatar for diafol
0
115
Member Avatar for LloydFarrell

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 …

Member Avatar for rajarajan2017
0
88
Member Avatar for LloydFarrell

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 …

Member Avatar for LloydFarrell
0
2K
Member Avatar for LloydFarrell

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 …

Member Avatar for nonshatter
0
949
Member Avatar for LloydFarrell

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 …

Member Avatar for drjohn
0
222
Member Avatar for LloydFarrell

hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session …

Member Avatar for qazplm114477
0
7K
Member Avatar for LloydFarrell

hi all, im looking to resize an image from the following code, but i keep getting errors when trying to resize the image inline. [code] <a href="read_message.php?messageid=' . $row['message_id'] . '">' . $row['img1'] . '<br>' . $row['datetime'] . '<br>' . $row['message_title'] . '</a><font face="Verdana, Arial, Helvetica, sans-serif" size="1">&nbsp;(You have mail)</font><br><br> …

Member Avatar for colweb
0
126
Member Avatar for Silver Snail

Hi, i have been building my own newsletter script with the option of a "Opt Out" link at the bottom of each HTML Newsletter that is sent out. This works perfect and I am sure you are required by law to include the option for opting out when sending newsletters. …

Member Avatar for InsightsDigital
0
168
Member Avatar for LloydFarrell

Theres an error on this script, A mate of mine has asked me to look at this for him, and to try and fix it. the error message he gets is "return_msg=no_good" once he trys to login to his profile based website \ page heres the form that is used …

Member Avatar for phpuser
0
143
Member Avatar for LloydFarrell

Hi, I have a bit of a strange problem where I am unable to "echo" results from a database - I will show you the code then explaine what im trying to do [code] <?php include_once "connect_to_mysql.php"; $sql = mysql_query("SELECT * FROM table ORDER BY RAND(), LIMIT 1"); while($row = …

Member Avatar for vaultdweller123
0
1K
Member Avatar for LloydFarrell

Hi all, I am trying to rotate adds that are from tradedoubler !! I have created a mysql db as follows id,add,link,title and i can succesfully connect via a php include and rotate my query to show a different add each time the page loads [code] $sql = mysql_query("SELECT * …

Member Avatar for LloydFarrell
0
225
Member Avatar for LloydFarrell

hi all, Im teaching myself webdesign, php and mysql from the fourms here and watching youtube videos. I have come across this error that I cant resolve. Its driving me crazy and i cant find a solution for it. I was hoping someone cant help. Im building a web subscription …

Member Avatar for LloydFarrell
0
111
Member Avatar for LloydFarrell

Hi all, Over the last week or two i have been working on uploading images to mysql db, Whilst i have the image uploading to the correct location and the name of the image added to the database, i cant understand how to add the image location to the name …

Member Avatar for LloydFarrell
0
203
Member Avatar for LloydFarrell

Hi all, i have a DOB input that I am trying to output to a textfield called "StarSign" The DOB works great, uploads to the database fine, What I would like to do is from the given DOB - Output the StarSign to a textfield called starsign. i have dob_y …

Member Avatar for wrivera
0
380
Member Avatar for DealthRune

Hi, many thanks for sharing this - I am trying to apply your code, but i have a few errors ? can you help me out please ! from the inbox.php when I open the page I get No Database Selected ?? when I nav to messageck.php i get the …

Member Avatar for jamied_uk
1
258
Member Avatar for LloydFarrell

Hi all, I have been away for the holidays and on my first day back I have tried logging into my blog. But I am getting the following error messages - Can anyone help me out here please !!!! [code] Warning: Cannot modify header information - headers already sent by …

0
149
Member Avatar for DealthRune

This is dissapointing as I have been looking for a forum script to use for my site, Would it be possible to add security to this to make this script secure ?? Hoping to hear a reply

Member Avatar for smartness
0
170
Member Avatar for LloydFarrell

Hi all, I have a form that works great, thats updates mysql db\table But id like the end user to enter his/her D.O.B. for that I have created 3 dropdown menus one for day, second for month and third for year..since I'm new to php Id like to understand \ …

Member Avatar for diafol
0
133
Member Avatar for LloydFarrell

Hi everyone, first of all, I'd like to wish everyone a very merry festive season and a happy new year for 2010 .... ;-) I am working on a registration that is going fine at the moment, when all fields are populated and the submit is pressed, the script checks …

Member Avatar for LloydFarrell
0
77
Member Avatar for mikeSQL

Hi, I was wondering how i could use your code snippet to determine the local time of users. I am hosting with godaddy at the moment and the time difference is causing some minor time issues. Is it possible, or how could i interact and retrieve the users local time …

Member Avatar for LloydFarrell
0
124

The End.