39,326 Topics
| |
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); … | |
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. | |
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 … | |
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 … | |
Hi Frendz, How to send free SMS to mobiles using php? I'm trying lot of codes but all is going to vein. | |
Hi, Can anyone help me as to how I would handle recurring invoices in PHP I have it making invouices with a due date... but say I wanted to mark an invoice to auto invoice every month... how would the script work and what data is needed to do that? … | |
Hi, I have a text file with content as [CODE]---------------------------- BEGIN REPORT: report1 r1a r1b END REPORT: report1 ---------------------------- BEGIN REPORT: report2 r2a r2b END REPORT: report2 ----------------------------- BEGIN REPORT: report3 r3a r3b END REPORT: report3 -----------------------------[/CODE] How can I read and Overwrite this text file such that "BEGIN REPORT: … | |
I have tried to research this and im always running into old articles. What I have come across are (possibly more): md5, sha1, hash, crypt and mcrypt Now I have used md5/sha1 before and have 32/40 character long strings the others I dont know too much about but in short, … | |
Hi, I want to write ACL. The access groups and access tasks are arbitrary. That means that any group can be given any access and initially accesses and groups are unknown. Creating groups is easy but I have hit a wall on how do I create/Implement limiting the tasks. Example: … | |
Can anyone tell me why I keep getting a plain white screen after submitting my form? Here's the code (some of them are generated by dreamweaver and I don't think I have enough time to learn how to do it manually because I need this running in a few hours) … | |
Hello guys, i have a problem with my fetching records, i need to put each photo inside a cell , now that has been done okay the problem is i need to put 5 photos each row , now i have 6 in a row , i tried to use … | |
Hi everyone, Please assist with this issue that I'm having. I am trying to create a simple web interface to allow me to send sms's from a browser window. I am using gammu ([url]http://wammu.eu/[/url]). I am able to execute the code below when using the php cli on the linux … | |
Hi, I m using this javascript code. for form submission i am using ajax.The problem is date calender is not showing when i use ajax file. If i remove ajax file,its working fine. Need help as i am using ajax first time [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … | |
I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation. I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll I have checked … | |
Hello I want to send xml values to a database I just created, here is the xml file <record> <name>tcpmux</name> <protocol>tcp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> <record> <name>tcpmux</name> <protocol>udp</protocol> <xref type="person" data="Mark_Lottor"/> <description>TCP Port Service Multiplexer</description> <number>1</number> </record> I've got 4 columns in my database:- ServiceName, … | |
Hello everyone. I wan to start PHP. I have idea about HTML and MY SQL server also.But I do not know which software is needed for PHP.Please give me some idea. I have searched many thing in Google. There are lots of things related to PHP. But I can not … | |
How can i generate CSS file using Codeigniter i create a function in helper and put the css selector rules heading with [CODE] header("Content-type: text/css; charset: UTF-8"); [/CODE] put the out put convert all views to css out put | |
Hello There Iam Sorry My problem Will take Time To Explain So Iam Sorry For That first thing that's my code in the index file [CODE]<?php $result = mysql_query("SELECT * FROM games"); while($row = mysql_fetch_array($result)) { echo "Game Name : <a href='GameDetails.php?id=$row[id]'>$row[name]</a><br/>"; echo "Genre : $row[genre]<br/>"; } ?>[/CODE] [COLOR="Red"]In The … | |
Hello guys.. I have this website called jupiter.php. It's code ignitered. I want to put it in my friend's website called [url]www.planet.com[/url]. My website should be accessed like this: [url]www.planet.com/jupiter[/url]. Problem is, I don't know how to. Should I ask what programming language or web server my friend is using? … | |
For the website I'm working on, I've included a "search the site" section. Once the user searches a keyword or a phrase, the php processes all the content in the mysql database and prints out the title, content and a link to the page with the article containing that specific … | |
Hi all, I'm having trouble getting POST value from dynamically generated txtinput[] and MultiSelect since they form an array. I read so many articles but I get confuse.. a short form of my code is given below.. Pls help me with best way how I can get array values in … | |
Hello I Need To Know how to Retrieve Random Data From A Table In Database i have a table called actiongames i need a code to retrieve random data from this table | |
Hi all, i understand that php header needs calling before any output. i made a mistake and used it after an include which did output some html which gave the error. but when testing on localhost with exact same code the header location redirect worked fine with no error? any … | |
Hello, I am new to web development and PHP/JS. I am currently using JWPlayer to show video on our church website using an xml playlist and all is working fine but it is rather cumbersome to upload new videos/Mp3 files. Each time we want to add a new video or … | |
Hi All! I got a problem with one of my files where I can't upload a file to my database. I want to save the path in the db but it gives me an error and says the "Filename cannot be empty". In my .html [CODE] Upload a profile picture(50px … | |
hello i have a problem with the % sign in to the url links for example my url is [code]http://www.site.com/1411/The-trafic-is-increased-to-20%-this-year[/code] that % is used like a variable in browsers and is not clickable in IE 8 or it gives errors in others browsers! removing % is not an option because … | |
Hi all, I queried results form MySQL database using php and stored the results in a text file. Now i want to store the text file contents in a single string variable. I would be thankful if anyone could help me with this. Thanking you. Have a nice day. cheers, … | |
Hi all. I've been trying to get this code to post to a https url for some time without any remedy. I'll give you all a basic rundown, I have a site that we're trying to generate leads off of, and we have a 3rd party crm system that we … | |
i need to create a unix timestamp in milliseconds like 1319031463499 to post to an web service. tried all sorts and cant get it. i have googled and keep getting strange years? |
The End.