39,320 Topics

Member Avatar for
Member Avatar for jaikar

Hi, The code below is to copy the files from one dir to another. here in the function dircopy $verbose is set to false. and later a action is done when the $verbose is true. in between there are no actions that are setting the $verbose to true... when do …

Member Avatar for jblacdao
0
96
Member Avatar for slacke

I am creating a login sessin in php. In first part index.html takes in text for AUTH_NAME and password in AUTH_PASSWD. In the login.php I set these variables as global with session_register("AUTH_NAME") and session_register("AUTH_PASSWD"). code: index.html [PHP] <html> <center><h2>Login</h2> <form action=login.php method="post"> <table align=center> <tr><td>User</td> <td><input type=text name=AUTH_NAME size="20"></td></tr> <tr><td>Password</td><td><input …

Member Avatar for jblacdao
0
136
Member Avatar for yakoo

Hi Friends, I have one strange problem the if conditions are not working, it is not supporting at all. Any idea why ? iam using ODBC_CONNECT() with MSSQL and PHP. Regards

Member Avatar for mbacon
0
86
Member Avatar for ¤| battousai |¤

lately I have been experimenting a bit with [color=blue]print[/color] and came up with this: [code=php] $var1 = 'x' print $var1; $var2 = 'y'; print "when you calculate:" . $var1 "-" . $var2 . "=" . ($var1 - $var2); [/code] where you can see a calculation while still in the function …

0
58
Member Avatar for nathanpacker

Hey everyone, I'm using the php function [URL="http://us2.php.net/nl2br"][COLOR="Blue"]nl2br[/COLOR][COLOR="SeaGreen"]()[/COLOR][/URL] to display some characters on a page from a textarea. I'm storing the text into the database exactly as it is entered, and then only using the [URL="http://us2.php.net/nl2br"][COLOR="blue"]nl2br[/COLOR][COLOR="seagreen"]()[/COLOR][/URL] when displaying it on a page. Should I do it the other way around? …

Member Avatar for nathanpacker
0
84
Member Avatar for MeeraKotecha

Hello.. I am having two php pages the 1st page is the registration and in the 2nd page i need to use the ID associated with registration (stored in databae) I think we need to maintain sessions for this.. But I am not clear with its implementations.. Plz kindly help..

Member Avatar for Rhyan
0
120
Member Avatar for phpmember

I want to provide text formatting optins and smileys to my website using PHP. Can someone tell me how to do this? Can I get some open source third party tool for this? Please help me.

0
53
Member Avatar for kanaku

I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has …

Member Avatar for kanaku
0
97
Member Avatar for ¤| battousai |¤

sorry to post another problem so soon after my first one, but this has been bothering me for some time now. Sometimes I can't get the [color=blue]echo[/color] funtion to work I already use the [color=plum]$root[/color] succesfully in all the [color=gray]href[/color] and [color=gray]src[/color] attributes last week I wanted to echo a …

Member Avatar for ¤| battousai |¤
0
337
Member Avatar for brainbox

Hi I have an if statement within which i have to implement the redirection to another form or index.php, when i implement that it gives me an error that it already have the "Header", to solve this if i add the die(); it dies and does not call the next …

Member Avatar for deni
0
92
Member Avatar for sarita.t

I want to know the solution for creating a link in php page by making a directory in unix.?if somebody knows the answer kindly reply. Thank you

Member Avatar for hradek
0
94
Member Avatar for Beshur

Hi! I'm a newbie and have some silly questions. PHP: 1. I want to inlude a txt file in array. I have an associative array. What format does the data in txt file must be? e.g. array I want to have: [code] $m["foo"] = "text 1"; $m["foo foo"] = "text …

Member Avatar for hradek
0
75
Member Avatar for hkBattousai

Hello, I want to embed a mail server on my computer. For that purpose I've installed MDaemon v9.5.3 on my computer. Now what else do I have to do in order to send/recieve mail from different people? Should I have to change configuration settings in "PHP.ini" and/or "httpd.conf"? I always …

Member Avatar for Rhyan
0
188
Member Avatar for jeffry

hi, Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1? Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes. …

Member Avatar for Dani
0
68
Member Avatar for LPlayhouse

Hello, Sorry if this is not the correct spot to post this, move if needed. After spending (More like being ripped off) thousands of dollars for a php scripter to work on a website for a children's educational television show, after craig's list listings and local newspaper advertisements, we've found …

0
78
Member Avatar for jaikar

Hi !, I have some questions on session variables, when a user logs in to a site, then opens a link in a different browser will the same session continue for the second browser ?..... i hope so... and if the session continues with the second browser and the user …

Member Avatar for jaikar
0
108
Member Avatar for sarita.t
Member Avatar for Dani

I currently use Zend PHP Studio because I like it's syntax highlighting, its keyboard shortcuts, its autocomplete, and its integrated php documentation. What I don't like about it is the interface or the feel of the software. It feels like it's been written in Java - eww. Can anyone recommend …

Member Avatar for iamthwee
0
77
Member Avatar for crazynp

Hi, Can anyone guide me to the best resouce or learning materials for web scraping? Thanks in advance

Member Avatar for Gary King
0
114
Member Avatar for nathanpacker

Hey, just need a little help on this one. I have a script allows a user to choose from a list of files in a directory for a form. When they submit the form, it adds the files name and url to a couple fields in the database for that …

Member Avatar for nathanpacker
0
90
Member Avatar for sandbox

I've been sitting at my PC atleast 2 hours now trying to figure this out.. so here it goes... IM relatively new to PHP and im struggling to learn it. I want to create a standard upload form, but i would like to make it so i can choose the …

Member Avatar for vssp
0
108
Member Avatar for DGStudios

I have a fully written forum and I would like to add some code to identify all the active users that are logged on. Their names are stored in session variables. I would like to retrieve and process this data using php, for ALL active sessions. Not just the person …

Member Avatar for jaikar
0
62
Member Avatar for Ghosh

Dear friends, I own a genetics site and wish to make it a place for Free knowledge center. For that, I decided to use WIKI, WIKI - Media which is free. Unfortunately, it does not support my server as my server uses lower version of PHP. I have spoken to …

Member Avatar for Gary King
0
90
Member Avatar for nisrin

Hi This is a piece of code in javascript, embedded in html, for the order page on an ecommerce site that i have made. I have this particular script nested inside a <form> tag and have set the action to a php file, but the tricky part is to extract …

Member Avatar for sunilpro
0
175
Member Avatar for jeffry

Hi, I have a table named 'team' which has fields such as name,contactno and dob. My entries are: For eg: name : Arun Kumar K contactno : 9445123880 dob : 27 Mar I want to display the name of corresponding members(here Arun Kumar K) on the previous day of his …

Member Avatar for jaikar
0
204
Member Avatar for ytregnn

I'm searching for a guestbook where the your post is published "directly" after you've posted it. What I mean is a guestbook where there is no "thank you for posting"-page, or re-loading.. (DHTML?) Thank you. [IMG]http://www.programmingtalk.com/pt_images/images/smilies/smile.gif[/IMG]

Member Avatar for ytregnn
0
68
Member Avatar for peter_budo

Can somebody please help me to little customize the view of the phpMyAdmin? Curently this is what I [URL="http://www.peterbudo.f2s.com/extra/myAdminC.jpg"]see [/URL] but I would like to have as [URL="http://www.peterbudo.f2s.com/extra/myAdminW.jpg"]this[/URL]. Simple, I don't like options to be displayed as list of links but as tabs. What shall I change in config?

Member Avatar for peter_budo
0
145
Member Avatar for mikelevy

My emails that are generated by my website (e.g. Order Acknowledgments, etc.) are bouncing back to me. Can anyone tell me what I should do to fix this? Regards, Mike Levy ========================================== The error message: Reporting-MTA: dns; web126.megawebservers.com Arrival-Date: Fri, 2 Feb 2007 19:39:59 -0500 Final-Recipient: RFC822;(E-Mail address blocked: See …

0
56
Member Avatar for Ked

Hello everyone.. I need php script to my website and it's about drama and movie :cheesy: I need php script and it show information about drama and rating :lol: for example: [URL]http://www.jdorama.com/[/URL] thanks

0
62
Member Avatar for tmv105

I have created a HTML form for a user to login that checks against a database of usernames and passwords to ensure authenticity. If it's good to go, I redirect to a new page, but if it's not I am trying to display a message on my "Login" page and …

Member Avatar for php_daemon
0
73

The End.