39,323 Topics

Member Avatar for
Member Avatar for rayidi

Hi Friends, Please check this code where i was did wrong ? thanks in advance. [CODE]<button type="button" onclick='showData()'>Edit</button>[/CODE] [CODE] <script type="text/javascript"> function showData() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 …

Member Avatar for rayidi
0
2K
Member Avatar for cwarn23

Wow, did you notice php.net just went offline. What will we do without the manual for those few minutes or hours while it's down for maintenance.

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for MrCranium

I bought a script but it has two suspects encrypted files that I want to decrypt. Does anyone know how to do? [CODE]<?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=484;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGY0KTskT08wME8wME8wPSRPT08wMD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JdoAJNT4JA2l0cA5idBAJhUEpweShkuOpfoxlwe0IkuOpfoxlBznfweSh[/CODE] and: [CODE]<?php $OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=1804;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGY1KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>kr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJ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B50fMySwtIIkoyLdBlVb2OlfoypdySJWBOsDB5kOtkfwtLIKXPLb1YyA1YkT05dwMxvc2lVb2yLdBlVb2asCBlSwl0INUELCBOsDB5gcoa0CBlSBZknco1pdLasCBlSwl0IKXPLb1YyA1YkT05dwMyLdBlVb3kpc2i0FZkfBZkZb2ivdBAJbUE9wolVfucidtEPwtOico1pdl9LcbOiDBxdwLlzA2l0ca9YCB5ic2AJbUEpweShky9TOaYTUA9KBZkico1pdl9ZDBfPfuHJbaSJFl9jd3aXd24JbUE9wolVfucidtEPwtOico1pdl9LcbOiDBxdwLlzW291Fo9Vb01idMymcUkfwtLIKXPLb1YyA1YkT05dwMyLdBlVb3kpc2i0FZkfBZkZb3flCmYpfoAJbUE9wolVfucidtEPwtOico1pdl9LcbOiDBxdwLlza2aJF2l0ca9YCB5ic2AJbUEpweShky9TOaYTUA9KBZkico1pdl9ZDBfPfuHJbaSJFl90CBFJbUE9wolVfucidtEPwtOico1pdl9LcbOiDBxdwLlzaoymb01idMymcUkfwtLIKXPLb1YyA1YkT05dwMyLdBlVb3kpc2i0FZkfBZkZb2YvdB1ldmWJbUE9wolVfucidtEPwtOico1pdl9LcbOiDBxdwLlzW29sdBaVfy9YCB5ic2AJbUEpweShky9TOaYTUA9KBZkico1pdl9ZDBfPfuHJbaSJFl9iC2YvfB50wl0INUnpdmO2CBXIhtELCBOsDB5gcoa0CBlSBZkkF0yjC291dmOgTByVCBflwl0IhUE7tJOgA0aTA0lNTlSJCBOsDB5gFMlmDuOzwl1dwmkgFoymcUkfwe0IDB50fMySwtIIkoyLdBlVb2OlfoypdySJUbYWCBflb01idMymcUkfwtLIKXpPcByLcbwIhtEJdo9jCbOpd246Do9scU5XDuEJhUE7tMa4DbWIhtEpweShgWp9tMilCBOlFJEPwtkSd2YifolvdjppdMOlGt5XDuEJhUE7tI==[/CODE]

Member Avatar for cwarn23
0
217
Member Avatar for asif49

I'm working on a search engine for my website. It seems that I ALMOST have it all working pretty nicely except a little thing. What happens is that the amount of results specified in $limit is displayed on the first page, then the following pages display the exact same results …

Member Avatar for asif49
0
308
Member Avatar for roottybrian

Hi guys, I wish to read a file with several lines with columns, and display the first three columns in each line. Anyone with an idea on that? File has these contents: [CODE] Dy MxT MnT AvT HDDay AvDP 1HrP TPcpn WxType PDir AvSp Dir MxS SkyC MxR MnR AvSLP …

Member Avatar for diafol
0
131
Member Avatar for utroda

Hello, I'm trying to replace {include %filename.php%} with that file from the server. I can get this to work file if the file is plan html text using the function below. [CODE] $str = "This would be a paragraph of text. {include %news.php%}"; preg_replace_callback("/\{include %(.*?)\%}/", function($m) { return file_get_contents(CORE . …

Member Avatar for utroda
0
345
Member Avatar for marlborosounds

Hi peoples, Im new to all of this and im trying to learn this. I have found a script for picture upload to a database with a picture query. Im trying to find out if there is a way to make this script into an array so I can upload …

Member Avatar for marlborosounds
0
130
Member Avatar for -==Zero==-

Iam Using This Code [CODE]$result = mysql_query("SELECT games.*, console.name AS gconsole , genre.name AS ggenre , company.name as gcompany, status.name as gstatus from games as games left join console on (games.console = console.id) left join genre on (games.genre = genre.id) left join company on (games.company = company.id) left join status …

Member Avatar for -==Zero==-
0
151
Member Avatar for urbanthistleuk

Good Morning, I am recently new to php development and have come across an issue that I can't quite get my head around and need some assistance if possible. I have been tasked to build a Task Logger in php which I have successfully done and is working fine, the …

Member Avatar for vaibhav1983
0
198
Member Avatar for asif49

On a search engine for my website I use a html form to send a value to the next page then that page processes it and creates several pages on which the results will be spread out between. This is the part of the php script which GETs the variable …

Member Avatar for vaibhav1983
0
109
Member Avatar for bossie09

The following code contain some errors which im unable to locate. The problem is.....Im doing search and update. Im able to search the database and update Animal_Type and Animal_Breed BUT cannot update Premium_Habitat and Age...... Can some one locate that fatal error please Thanks [code]<?php include("svrconfig.php"); $svr_connect = mysql_connect("localhost","root","magicpass"); if(!$svr_connect) …

Member Avatar for bossie09
0
162
Member Avatar for aaloo

this is my code [code] <?php $subject = $_POST['senderName']; $message = $_POST['senderMsg']; echo $subject; ?> [/code] and i m getting this error Notice: Undefined index: senderName in C:\xampp\htdocs\flasblog\mail.php on line 3 Notice: Undefined index: senderMsg in C:\xampp\htdocs\flasblog\mail.php on line 4

Member Avatar for makman99
-1
155
Member Avatar for primacag

Any help appreciated in advance.... I have been trying to get a javascript to use ajax to call a php script to read from an mysql database and write out an xml dom document so that I can add markers to a google map. I think I have all the …

0
84
Member Avatar for AliHurworth

Hi all, I have a database which I would like to use to power an HTML list. I'm struggling to get the loop to print out more than one line. This is the script: [CODE] <?php $query = "SELECT * FROM `table` ORDER BY `year` ASC"; $resultID = mysql_query($query, $conn) …

Member Avatar for AliHurworth
0
204
Member Avatar for jacksantho

Hi, I am facing the parser error in the following line: [CODE]<td><select name="type"><option value=" ">select the type</option><option value="C" [B]"'.if(trim($_POST['ctype2'])=="C") echo "selected".'"[/B]>Calcium</option><option value="V">Vitamin</option></td> </tr> [/CODE] Error: Parse error: syntax error, unexpected T_IF in C:\xampp\htdocs\test.php on line 78

Member Avatar for bijoy340
0
221
Member Avatar for furlanut

Hi, I have been learning PHP/Mysql for only a few moths and am working on my own dynamic web-site. Stuck on what is probably very simple. User inputs name($name)in form. Table containing it has 15 fields - $name could be in any or none How do I put $name into …

Member Avatar for cwarn23
0
101
Member Avatar for ittanfkh

the view_count of the notes table will increment 2 times everytime i click the button that link into this page.. need help desperately.. thanks! [CODE]<?php ob_start(); $note_id=$_GET['note_id']; include 'fconnect.php'; if ($note_id!=null) { $query_ncount = "UPDATE notes SET view_count = (view_count+1) WHERE note_id = '$note_id'"; $result_ncount = mysql_query($query_ncount); if(!$result_ncount ){ die('invalid …

Member Avatar for ittanfkh
0
190
Member Avatar for alfiechiong

Hi can i ask for help pls. I have this xml values from a given xml file i wanted to retrieved it from there and when I was trying to retrieved it and echo it out it shows the correct value together with the decimal values. But when the i …

Member Avatar for alfiechiong
0
115
Member Avatar for jacob21

Hi I am getting uploaded image in text format. [B].txt[/B] need help & suggestions. [CODE] $email_from = "resume@ihmjobs.com"; // Who the email is from $email_subject = "Attached image"; // The Subject of the email $email_message = "Name : "; $email_message .= $_POST['name']."<br>"; $email_message .= "Message : ".$_POST['message']."<br>"; // Message that …

Member Avatar for jacob21
0
235
Member Avatar for muze

hello guys... I have an html page inwhich I collect some data using text boxes. Now in this page, I have button and I set the action attribute of [B]<form>[/B] a php script like this. [CODE] <form action="test.php" method="post"> ----- [/CODE] Now this does the job. But the problem is …

Member Avatar for codewalkz
0
6K
Member Avatar for asif49

I've been following several tutorials in order to build a simple search engine for my website. But I can't seem to be able to do pagination I.E show results by pages (10 per page). I'll list the code I have thus far and hopefully if there's someone well versed with …

Member Avatar for codewalkz
0
88
Member Avatar for knottykings

Pls I need help on this validation script. Even after logout and without login, I can access the assigned webpage. What might be wrong?? [CODE]<?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['login']) xor (trim($_SESSION['login']) == '')) { header("location: login.php"); exit(); } ?>[/CODE]

Member Avatar for nagarjunrajen
0
181
Member Avatar for cjohnweb

I've been looking, and there seams to be a lack of Ron Paul (for president 2012) Wordpress Themes. So I think I'm going to have to make my own...but then I remembered I suck as design. So I was wondering if anyone might know of a good resource where I …

Member Avatar for kertjoert
0
115
Member Avatar for dirgha

hello sir, i want to post or upload photo in the face book by using the api , please tell the php code of it. hoe to use the api of face book ,twitter, photobucket etc. please tell code how to use as soon as possible its urgent. thanks.

0
42
Member Avatar for serioussam

i'v created a registration form with all validations but i don't know how to validate a checkbox to hide/active submit button as per checkbox value is checked or not. can anybody help me to solve this......? plz reply me on [snipped]

Member Avatar for jmichae3
0
44
Member Avatar for dean8710

can anybody share, the best encryption and decryption technique in PHP. here i just found 3 ways. are that any better technique? [QUOTE][ICODE]<?php //1 $password = 'mothafucka'; $sSalt = '8*S&AsEc4qUs'; $sHash = hash( 'whirlpool', $password . $sSalt ); echo $sHash."<br><br>"; //2 $password = "palancau87"; $password = sha1($password); $password = md5($password); …

Member Avatar for dean8710
0
170
Member Avatar for maxlipman

Hi, Here is what I want to do: I already have a php login system and I want to integrate a private messaging system into it. Does anyone have any recommendations of Private Messaging scripts? Thanks so much, Max.

Member Avatar for ronysios
0
229
Member Avatar for phorce

Hello, I'm having a problem with a script I'm working on, basically, it outputs a SQL query in JSON, however, it's not doing it properly.. E.g. Right way: [{"id":111,"title":"Event1","start":"2011-10-10","url":"http:\/\/yahoo.com\/"},{"id":222,"title":"Event2","start":"2011-10-20","end":"2011-10-22","url":"http:\/\/yahoo.com\/"}] Wrong way: [{"id":"1","title":"dfssafsaf","start":"2011-10-22","url":"http:\/\/yahoo.com\/"},{"id":"3","title":"dfssafsaf","start":"1-1-1","url":"http:\/\/yahoo.com\/"}[b],][/b] As you can see it inserts a ",]" and I only want it to show "]" because it's …

Member Avatar for pritaeas
0
56
Member Avatar for Mve83

Hi I am somewhat a noob when it comes to php and have stumbled on something I cannot see how to do. I have a script which plugs into joomla and extracts orders from redshop using direct mysql access. This means that the source code is all mine on my …

Member Avatar for Mve83
0
1K
Member Avatar for karthik_ppts

Hi Frendz, How to send free SMS to mobiles using php? I'm trying lot of codes but all is going to vein.

Member Avatar for stoopkid
0
244

The End.