Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
82% Quality Score
Upvotes Received
9
Posts with Upvotes
9
Upvoting Members
7
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #818
~85.3K People Reached
Favorite Tags
Member Avatar for whiteyoh

Hi, I have a working account generator, which passes the password to mysql with MD5. I am currently working on a forgot password script, which generates a new password and stores as md5, then emails the user, however, the new password is not recognised. This is the forgot script. Can …

Member Avatar for rproffitt
1
2K
Member Avatar for OsaMasw

hello guys, its been a while since I used htaccess file, but I know how to use it. but the only problem I face is when using in this way I have page for view video watch.php?v=qvLqn2NEsOE&title=Networkplus_tutorials.html first I've create rewrite rule in .htaccess file `RewriteRule ^v-(.*)-(.*).html$ watch.php?v=$1&title=$2` so if …

Member Avatar for OsaMasw
0
313
Member Avatar for lalit01

i am doinf online test so i have stode qus and and in mysql . and now i am showing all qusetion at a time . but i want one quse at a time and i want to use next and privius button . help me how can i use …

Member Avatar for diafol
0
104
Member Avatar for alfredferg

how to read the last 10 lines on a file using php. [B]Sample Entry:[/B] Samp1 Samp2 Samp3 Samp4 Samp5 Samp6 Samp7 Samp8 Samp9 Samp10 Samp11 Samp12 Samp13 Samp14 Samp15 [B]Output:[/B] Samp11 Samp12 Samp13 Samp14 Samp15

Member Avatar for santoshv22
0
2K
Member Avatar for Manuz

[CODE] SELECT count(*) FROM information_schema.`COLUMNS` C WHERE table_name = 'your_table_name' AND TABLE_SCHEMA = "your_db_name" [/CODE] TABLE_SCHEMA is required only if table name exists in more than one db

Member Avatar for Terry_2
0
293
Member Avatar for Queos_1

Can anyone please help I'm having an index error with my php code. When I run the code I get the errors Notice: Undefined index: name in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 9 Notice: Undefined index: surname in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on line 10 Notice: Undefined index: contact_number in C:\Program Files\EasyPHP-5.3.9\www\Authentication1\update1_ac.php on …

Member Avatar for Bukhari1986
0
539
Member Avatar for pjh1985

Hi, I am building a website and decided to try and add clean URL's using mod_rewrite. This is my first time using mod_rewrite so i decided to follow a guide which resulted in URL's such as [url]www.example.com/gallery/12[/url]. This URL would then be rewritten to index.php/gallery/12. The problem I am having …

Member Avatar for diafol
0
149
Member Avatar for jacobi

I am an English teacher wanting to create my own tuition material. I can do this up to a point. I need to make my material dynamic with my users being able to drag and drop in simple games and to answer multi choice questions. More specificly, I need to …

Member Avatar for whiteyoh
0
131
Member Avatar for facarroll

Some help would be great here. The following snippets work, but I am unable to figure out how to activate the error message "You did not select a name for editing". Both of the other error codes work but if I input 'given' and 'family' and forget to select the …

Member Avatar for whiteyoh
0
130
Member Avatar for nyler01

Please help me in creating a multiple file upload and then process it in ajax so that it can view into the page before the form is submitted this is my form <form name="create_memo" method="post" ENCTYPE="multipart/form-data"> <input id = "memofile" type="file" name="img[]" onchange="uploader();" multiple /> <input type="submit"> </form> <div id="memoupload"> …

Member Avatar for diafol
0
927
Member Avatar for turpentyne

I'm trying a simple query to get students that signed up for each possible matching class, and I'm getting a weird result with this,when I print out. If they've signed up a student in one class, and a student in another class, I get the two students printing out fine. …

Member Avatar for diafol
0
203
Member Avatar for Persi

I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = …

Member Avatar for whiteyoh
0
93
Member Avatar for hwoarang69

$count = 0; $Q = "SELECT (SELECT image_short_name FROM user WHERE username = '$user') as `image_short_name`" .",`image_id`,`image`" ." FROM `image`" ." ORDER BY RAND()" ." LIMIT 30"; $R = mysql_query($Q); echo " <div id ='bg'> <div id='context'> <table> <tr> "; while($row = mysql_fetch_assoc($R)) { echo "<td>"; $image_db = $row['image']; $src …

Member Avatar for whiteyoh
0
106
Member Avatar for PierreJ

Hello Everybody, I just join today, and this is my first post. I know how pass and receive variables thru URL like [url]www.mysite.com/index.php?var1=ABC&var2=QWERTY[/url] This is OK but what i'd like to know if we can use something like this: [url]www.mysite.com?username[/url] or [url]www.mysite.com/username[/url] but username will change for every user. And …

Member Avatar for dw_user
0
3K
Member Avatar for dan_ord

Hi, I'm new to the forums and could really do with some help on the following... I've got a mysql query which i'm running to log a user in to a secure section of a website. I've successfully managed this on another website, however with the query i'm running it …

Member Avatar for tough
0
4K
Member Avatar for h0k1

Hey Guys,, I'm new to PHP and and contact forms, I'm in need of help for the current website I'm making for a local sporting community. I have uploaded a current picture of what my contact us box (Name,Email,Message) looks like : As you can see im using a CSS …

Member Avatar for baig772
0
225
Member Avatar for asif49

The following two are methods of joining two tables together but what I want to know is whether the two methods actually have any differences. I tested the two methods on two tables and they didn't give different results but maybe my two tables were just an anomaly. Are these …

Member Avatar for diafol
0
107
Member Avatar for lyrico

Hi all, Can anyone help me or give me an idea on how export data from mysql into multiple excel sheet using php? Below is the code I used to export data from mysql in a single excel sheet. thanks in advance [code] <?php $filename = 'filename.csv'; include 'connection.php'; $date …

Member Avatar for whiteyoh
0
295
Member Avatar for sainigks

hello every one i have created a code to create html table from php. simply user enter column and row no. and submit. this data will create a table for the same. now i want to put some names with this table. like each table column have a name from …

Member Avatar for whiteyoh
0
6K
Member Avatar for whiteyoh

hi all, when i send an email, the headers include the path to the file that executed the script in the x-source-args parameter. can this be supressed?

Member Avatar for pritaeas
0
61
Member Avatar for whiteyoh

Hi All, Im attempting to set up a cron job using CPANEL. I can get the location and timing correct, but the script wont run, saying it cant find files i have included. The file itself runs perfectly fine, with no error both onscreen and in the error log. Any …

Member Avatar for whiteyoh
0
71
Member Avatar for whiteyoh

Hi All, I currently have an .htaccess set up to rewrite to a single URL. at the minute it is for places. so mysite.com/region/town will rewrite to places.php i now need to add another, this time for skill i.e. mysite.com/construction/bricklayer and i want it to redirect to skills.php i have …

Member Avatar for pritaeas
0
106
Member Avatar for muralibobby2015

i want to create dynamic swf files using swf file template. i have an embed code like this <EMBED src="http://mysite.com/120_600.swf?inner=http://mysite.com/brand/files/wirelessidea/79/BANNER-DIVERZONA_120X600.swf&url=http://mysite.com/trackingcode.php?aid=1&linkid=F1" quality=4 width='120' height='600' > </EMBED> in this [url]http://mysite.com/120_600.swf[/url] file is empty. now i am passing inner&url parameters to this swf file. automatically create swf file in 120_600.swf. when ever we …

Member Avatar for muralibobby2015
0
150
Member Avatar for whiteyoh

Hi all, I need to figure out how to validate the contents of a file. I know how to do it via mime and extension, but i could still upload, for example, a php file that would satisfy those checks. Any ideas? regards paul

Member Avatar for diafol
0
100
Member Avatar for whiteyoh

Hi All, Can anybody see why the following function is ignoring the plain text part of the multipart? [code] $attachment = chunk_split(base64_encode(file_get_contents($filetoattach))); //Let's start our headers $headers = "From: $from_name<" .$from_name . ">\n"; $headers .= "Reply-To: <" . $from_name . ">\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: multipart/related; type=\"multipart/alternative\"; …

Member Avatar for cereal
0
110
Member Avatar for whiteyoh

Hi All, Im trying to get my mail to display like the following From: Paul "paul@paul.com" Reply to Customer Services // with the email only showing when clicking reply my current headers are set to [code] $headers .= "To: " . $dsv_to . " <" . $dsv_to . ">\r\n"; $headers …

Member Avatar for pritaeas
0
85
Member Avatar for Venugopal Ravi

Hi, I am using CKEditor (FCK) and I want to filter certain things from being used by users like (.com, <, >) symbols and words. Is there any plugin available for this or in which way i can do this? any help please.. thanks rave

Member Avatar for diafol
0
156
Member Avatar for whiteyoh

Hi All, Can anybody shed any light on how to hide the servers email address when sending an email? It currently states: From [email]myserver@emailaddress.com[/email] on behalf of [email]myemail@address.com[/email] thanks

Member Avatar for eXpertPHP
0
68
Member Avatar for whiteyoh

Hi All, Im in the middle of making a dynamic multi part email and have come accross a snag. The function receives a file, and depending on the content of that file it then processes the relevant headers and mixed parts, however, rather than echoing the items i need to …

Member Avatar for whiteyoh
0
135
Member Avatar for whiteyoh

Hi all, I have a multidimentional array that i need converting to a single array on the fly. to do this i use the following function. I need it to be changed to return the key name rather than setting it to a value [code] function array_values_recursive($ary) { $lst = …

Member Avatar for cereal
0
65