473,800 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
6
4,552
thread by: teser3 | last post Dec 23 '07 by: Gordon
I have my PHP inserting into Oracle 9i. But how do I prevent duplicate record entries? I only have 3 fields in the insert in the action page: CODE <?php $c=OCILogon("scott", "tiger", "orcl"); if ( ! $c ) { echo "Unable to connect: " . var_dump( OCIError() );
1
1,332
thread by: v4vijayakumar | last post Dec 23 '07 by: My Pet Programmer
My first post to comp.lang.php. Have you seen any website / examples, that uses PHP and YUI (Yahoo User Interface) ?!
4
7,788
thread by: sejal17 | last post Dec 23 '07 by: pbmods
Dear Sir, Can you tell me how to export data from MySQL database to a xls file using php code?I have to export data from different tables of mysql database to a single xls file.Please help me!!! Regards, Sejal Mandaliya
1
1,109
thread by: RedLynch | last post Dec 23 '07 by: pbmods
Hello My website is regularyl working on a windows platform with IIS ws I am just approaching PHP and i wanted to authenticate a page using this technology The problem is which script i have to use and how to do, cause according to what i read on the net, IIS does not allow the authentication with header using php I just have to put a...
4
1,373
thread by: mthalavai | last post Dec 23 '07 by: pbmods
I am using the ftp functions in my project and it is properly run in my local server. but the same script is not working in client server. My program <?php $ftp_server="server name"; $ftp_user="user name"; $ftp_pass="password"; $ftp_port=21;
1
2,573
thread by: clai83 | last post Dec 23 '07 by: pbmods
(A) I am making a web application that needs to work in both an English/Japanese environment. This web application is intended to manage a company website (news releases, add new companies), and also contains an admin section available to administrators only. During my coding process I did not realize the existence of the mbstring functions...
1
2,600
thread by: Fleets422 | last post Dec 23 '07 by: pbmods
Hi, new kid on the block... Hope I am posting this in the proper forum as it involves HTML, JAVA as well as PHP. A little background... I have been writing PC apps using Borland's C++ Builder for many years and have written a couple WebCam utilities for my model airplane club. My utilities handle all the tasks of acquiring the images, FTPing...
6
1,847
Markus
thread by: Markus | last post Dec 23 '07 by: Markus
Haha. The title makes me chuckle.. Anyway.. I've seen on numerous, large image hosting websites an image be displayed if the image, say, 'broke the TOS' or the image was deleted or the image can not be found. I was just wondering how they went about this.. because i find it strange how they can replace an image, that's hosted on their...
1
1,106
thread by: aktar | last post Dec 23 '07 by: pbmods
Here is the code $alphabet = array("a","b","c"); $number_of_letters = 3; //initial amount of characters foreach($alphabets as $letter) { print $letter;
1
1,975
underscore
thread by: underscore | last post Dec 23 '07 by: pbmods
i use a php4 and apache2.0 b4 with mysql4 or lower in my php program. when i use xampp every i can't view my stored image already in html... here's my code. <?php $db_server ="Localhost"; $db_name ="pass"; $db_username = "root";
1
3,396
thread by: suresh_nsnguys | last post Dec 22 '07 by: pbmods
Respected Sir/madam, I will allow users to enter Address URL in my Application.But i want to validate that Address URL is an RSS webSite or Not. when user enter html or php website(www.google.com,www.yahoo.com) Address URL.i need to display error message.i need to store...
5
1,636
thread by: cherryst152 | last post Dec 22 '07 by: Markus
while($i=01:00; $i<=01:10; $i++){ $query= "INSERT INSERT INTO $January_Ad1 (Day, Time) VALUES ('1','$i')"; $result= mysql_query($query); } I want to insert 11 rows that say the Day is 1 and the time is incremented by 1 such that the time would read 01:00, 01:01, 01:02... 01:10.
1
2,858
SHOverine
thread by: SHOverine | last post Dec 22 '07 by: SHOverine
Recently my web host decided to "upgrade". This change rendered many of my pages useless and I am scrambling to fix the issues, so you may see several posts from me in the coming days. My first issue is that all of my dropdown menus are passing the last row to the next page as the session variable. The pages that I am talking about can be...
1
1,152
thread by: naveenbj | last post Dec 22 '07 by: Markus
I just wanted to know that how can i pass a value from one variable to another variable
1
1,480
thread by: ss112358 | last post Dec 22 '07 by: Markus
Hey all! I am making a very simple program which requires the user to enter a numerical value into a text box (html form) and then multiplies it by 10 before echoing back. The program is working fine. However, when I enter some letters, php returns an ugly error. Is there a way to prevent the user from entering letters? Thanks!
14
1,586
thread by: Dave | last post Dec 22 '07 by: The Natural Philosopher
Hello, Not sure if this is php related or not, but i'd like to have certain users who have the ability to upload files to my site, and others to download files. I thought about .htaccess and basic authentication, but then i thought that's not very secure i was wondering if there was a php solution, something that splits user uploads and...
0
927
thread by: mcheung63 | last post Dec 22 '07 by: mcheung63
Hi For some messages, imap_headerinfo return false, why? I am sure the message id is ok, because i get those id from imap_fetch_overview() thanks from Peter (cmk128@hotmail.com)
5
1,419
thread by: sbettadpur | last post Dec 22 '07 by: Ranjan kumar Barik
instead of mail function can i use sendmail in php for sending mail.
6
1,295
thread by: olddocks | last post Dec 22 '07 by: ak1dnar
what is the best way to secure forms in php? I basically have a login system with my script and what worries me most is i directly use $_GET in mysql queries? Any advice or suggestions related to securing forms is much appreciated :)
4
1,854
thread by: sadieslc | last post Dec 22 '07 by: ak1dnar
I'm working on a PHP script, and the info from the form shows up in the headers of the email that I receive, but it doesn't show up in the body of the email. Can you please help me figure out what I'm doing wrong? Here is the script: <? function send_mail($emailaddress, $fromaddress, $emailsubject, $body) { $eol="\r\n"; ...
1
6,191
thread by: redbrad0 | last post Dec 22 '07 by: redbrad0
I have some emails that I connect into IMAP that I need to forward. I have searched the internet and can not find any examples of how to do this. Can someone help me with code on how to forward a email using IMAP? Below is some code that I tried imap_mail('no@email.com', 'Forward Message', imap_body($mailbox, $emailIndex), 'From:...
24
1,762
thread by: =?windows-1256?B?2sfV4yDayM8gx+Hh2O3d?= | last post Dec 22 '07 by: The Natural Philosopher
Excuse me!! Would you stop for a moment?! O...man...Haven't you thought-one day- about yourself ? Who has made it? Have you seen a design which hasn't a designer ?! Have you seen a wonderful,delicate work without a worker ?! It's you and the whole universe!.. Who has made them all ?!! You know who ?.. It's "ALLAH",prise be to him. Just...
21
1,623
thread by: Tarscher | last post Dec 21 '07 by: Paul Lautman
Hi all, I have events containing attendees (events has many attendees). The attendee table tells whether a user will attend the event or not. I want to build a query that returns all the different events to a user and if he will attend the event or not (or hasn't filled it in yet) the returned result could be something like: event.id ...
2
1,406
thread by: Rozzy | last post Dec 21 '07 by: Michael Fesser
Hi, I'm having trouble using the proper terminology, so bear with me, I am trying to submit text to a mysql database. I want to be able to allow formatting of this content (like breaking it up into paragraphs). I am sending the data to the server via ajax, and so escape the characters. When I read back the information on my news page, all...
6
1,443
thread by: tenxian | last post Dec 21 '07 by: Steve
It is said as for code, developing a website that can stand 10,000 concurrent visitors is much different from developing a website that can stand 1,000 concurrent visitors, is it true?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.