39,320 Topics

Member Avatar for
Member Avatar for dwlamb_001

I'm a newbie to PHP and arrays are giving me a problem. I'm converting BLOBs of data from a MySQL database. Each of these BLOBs is the body portion of HTML files I'm converting to XHTML. Mainly, I'm checking <p> tags for case and closing tag. There are over 500 …

Member Avatar for nav33n
0
146
Member Avatar for carobee

hi all, i have a login page and a couple of other php pages. what i want is that nobody should be able to view my other php pages without logging in. i have tried with sessions but sadly session is not working with me. can anybody tell me of …

Member Avatar for Nick Evan
0
135
Member Avatar for j3p0yz

hi to everyone.. can anyone here in the forum an teach me hoe to configure "SMTP" and "smtp_port".. i'm having problem with that.. tha script ask me to configure it in php.file.ini.. but the problem is i don't know how to do it.. i'm on the process learning php.. please …

Member Avatar for j3p0yz
0
98
Member Avatar for carobee

hi there, i have started session in my first page(login page). on fulfilling the validations the user is taken to the next page. in the second page, first i check whether session is set or not, and if it is not set the flash an error message to the user …

Member Avatar for carobee
0
141
Member Avatar for carobee

how to untar a file with tar.gz extension in php script. i have written a php script for uploading a tar.gz file amongst many files. i have to untar this file. how will the command be like? till now what i have done is - consider for uploading i have …

Member Avatar for carobee
0
1K
Member Avatar for carobee
Member Avatar for Vai

I don't have the code as I keep following examples that don't exactly work. So, here is what I am trying to accomplish: 1: Something similar to what this site uses to reset lost passwords 2: Redirect a user based on url in the table Any help or direction would …

Member Avatar for nav33n
0
110
Member Avatar for jinchiruki

need some advise here...just create a simple form..but i had problem with validation.hope somebody can help me.. [B](register.html)[/B] <form id="FormName" name="name"method="post" action="added.php" name="name"> <input id="name" name="name"type="text" name="name"><br> <input id="email" name="email"tpe="text" name="email"><br> <input id="contact" name="contact"type="int" name="contact"><br> <textarea id="person_attend" name="person_attend" rows="4" cols="40"></textarea> <textarea id="comment" name="comment" rows="4" cols="40"></textarea> <input type="submit" name="submit"> </form> <? …

Member Avatar for nav33n
0
124
Member Avatar for Darrenp

Having problems displaying images randomly within a table cell from a folder I am looking for any suggestions.

Member Avatar for nav33n
0
20
Member Avatar for scorpionz

Hi This is Scorp I have Little issue about phpmyadmin. When i write [url]http://localhost/phpmyadmin[/url] on my url and Press Enter i got the Login Screen and i tries every username and password, but everytime it gives same error Error MySQL said: #1045 - Access denied for user 'pma'@'localhost' (using password: …

Member Avatar for nav33n
1
496
Member Avatar for dami06

Hi, Could someone please tell me what is wrong with this code because i have tried loading it but it's not giving me any error to know where the problem lies. [code=php] <?php /** * * Global configuration file for CAPAT */ // Site Setup error_reporting(0); session_start(); // Turn off …

Member Avatar for dami06
0
128
Member Avatar for lordx78

After the user has inputted their respective username and password, it will be validates and if the submitted information was true, they will redirected a page. Now, I just want to the the php code that captures the username and display it on the page. Like "Welcome BooBoy08 to here..". …

Member Avatar for nav33n
0
112
Member Avatar for yasmin1440

I am using a new script Tukanas Freelance Script, everything else works fine on the user panel but when it comes to admin panel cannot log in, tried to manually create a username and password in sql but try and login says user not verifed how can i verify it …

Member Avatar for yasmin1440
0
126
Member Avatar for armend90
Member Avatar for kings

$result=mysql_query("select employer.employer_id,employer.companyname,post_job.jobtitle,post_job.owner,post_job.tdate,post_job.id from post_job,employer ORDER BY tdate.post_job ASC LIMIT 0,10 ") or die("ERROR:".mysql_error()); it is not working..........

Member Avatar for nav33n
0
218
Member Avatar for richie513

Hi guys, I am a bit stuck and after some help. I studying through a book called practical web 2.0 applications. Through this book you build a full application as you are learning. Now I have got to a section and can't go further. When I go to insert data …

Member Avatar for richie513
1
198
Member Avatar for kittu007

[B]Hi, I am new to php. I want to read an excel file(.xls) and write the data to another file using php[/B]

Member Avatar for apsivam
0
84
Member Avatar for okonjiaustin

I have successfully uploaded image to mysql database using a form: This is the code: <?php $errmsg = ""; if (! @mysql_connect("localhost","root","")) { $errmsg = "Cannot connect to database"; } @mysql_select_db("adim"); if(isset($_REQUEST)) { $imgtype=$_FILES; $name=$_REQUEST; $address=$_REQUEST; $dateofbirth=$_REQUEST; if($imgtype=="image/jpeg" || $imgtype=="image/jpg" || $imgtype=="image/pjpeg" || $imgtype=="image/gif" || $imgtype=="image/x-png" || $imgtype=="image/bmp") { $image=$_FILES; …

Member Avatar for nav33n
0
172
Member Avatar for Auzzie

Hi i'm currently making a highly modular forum in PHP and i'm running into a slight problem with an error handler that i have started on and it has been stumping me, any help would be very much appreciated.

Member Avatar for nav33n
0
64
Member Avatar for rojakc

Hello everyone I am developing an application in which , i wrote the code for a pop up confirmation box in javascript, & when it presees ok , i want to call a PHP file from javascript......tried but not working......if anybody can help, would be great...... roja.

Member Avatar for katarey
0
2K
Member Avatar for Nick Evan

I have a problem with session in combination with DNS. I use have a webpage where some areas are restricted. So I use a log-in screen which sets the session username and writes the sessionid in a DB. When you try to access a restricted page, a script checks if …

Member Avatar for Nick Evan
0
117
Member Avatar for manzoor

Hi I need to create c++ help website in which I'll add tutorials and snippets So what do I need to learn to let the users add their own snippets and tutorials also add a phpbb forum a webbsite like Daniweb or dreamincode.net help please

Member Avatar for techniner
0
54
Member Avatar for htcorp

I work with joomla and i want to build a module for tourism field. Anyone have a relative module ?

Member Avatar for lokeshsinghjado
0
118
Member Avatar for Dani

How can I invoke a shell script with parameters from within a PHP script? For example, from within my web-based PHP script, I want to execute the command "/home/cscgal/script.sh -f foo"

Member Avatar for carobee
0
174
Member Avatar for justted

Hello everyone, I am developing a virtual pet site that is based on PHP, CSS and MySQL. I am currently learning PHP and MySQL myself but require some genius minds to help me develop my community and ideas ready for a big launch in March/April. [B]Things I require help with …

Member Avatar for Vai
0
85
Member Avatar for justted

Hello everyone and happy christmas, I have a virtual pet website which has multiple level users, or if you like, different ranks from 1 - 10. 1 is suspended and 10 is master admin. I have worked out how to give access to an admin page for users with the …

Member Avatar for justted
0
170
Member Avatar for gopi kannan

i have wamp server 2.0...iam new user of php..i wrote my script in notepad and saved it in the directory i created in www folder with extension php..but when i tried to run my script using wamp..the script file is with extension .php.txt and the server just displays my entire …

Member Avatar for richie513
0
259
Member Avatar for jino

Dear All,, My php page having a search query is not displaying the result when it is loaded... But when i check this same query in php my admin it is working correctly... for ex: If i search with the field "Marital Status" Single... There are totol 3 records having …

Member Avatar for nav33n
0
132
Member Avatar for lydia21

hi in this app i have three pages from the first page id is passed to the second page.in the third page i am not able to get the value.............. [ICODE] if (mysql_num_rows($result) > 0 ) { while($row = mysql_fetch_row($result)) { echo "<tr>"; echo "<td><a href='detailjob.php?id=".$row[3]."'>".$row[0]."</td><td>".$row[1]."</td>"; echo "</tr>"; echo "<tr><td …

Member Avatar for lydia21
0
96
Member Avatar for dami06

Hi, I have tried creating a webpage but when i click on one of my links it gives me this ?> DATABASE ERROR Connecting to server ::<NO SERVER> What does this mean because i have checked my database and everything seems to be fine..

Member Avatar for richie513
0
80

The End.