473,813 Members | 4,176 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.
9
1,535
thread by: John | last post Oct 27 '07 by: Jerry Stuckle
I need a scroller (java) or whatever that can read a php file and display it in the script. Does anyone know of any? I have searched the script sites but didn't find anything.
3
2,453
thread by: blindlemon1983 | last post Oct 27 '07 by: blindlemon1983
php version - 4.4.4 mysql version - 4.1.22 Previously I tried to prevent hotlinking of images on a clients site using .htaccess and mod_rewrite. It however didn't work for some reason or other and I decided to do hotlinking protection using php. I'm really new to php. I've seen code like the following <img src="display.php?id=1898" border="0"...
3
1,857
thread by: dennis.sprengers | last post Oct 27 '07 by: Jerry Stuckle
* I'm trying to work out some rewrite rules that should do the following: case 1: a request to mysite.com: rewrite http://www.mysite.com/files/sheets.ppt to http://www.mysite.com/sites/default/files/sheets.ppt case 1 - n: a request to othersite.com: rewrite http://www.othersite.com/files/sheets.ppt to...
3
1,630
thread by: ant82 | last post Oct 27 '07 by: ak1dnar
Hi guys I wonder if you can help me? I have a quite a few 'job search' sites and im in the process of building the main portal site. I have added a login form onto this portal site and was wondering if it is possible to have a dropdown list so my customers can select the site they wish to log into and then use the form to login? <form...
2
1,110
thread by: tader | last post Oct 27 '07 by: tader
so heres is my problem i need to read data from this file but i cant i tried like this but it is nor working <?php $doc = new DOMDocument(); $doc->load('http://vytautus.com/hor_rss.php'); $title = $doc->getElementsByTagName("title")->item(0)->nodeValue; echo $title;
1
2,799
thread by: boss1 | last post Oct 27 '07 by: pbmods
i have textfile containing multiple rows.Each row containing same type of strings.now my problem is i can read only one row frequently but i can't read multiple rows. so how can i solve this problem Is there anybody expart to help me? Text to be read is: 03/31/02 04:21PM 136 11 9564499- 00:00'54 TR ...
4
1,042
thread by: runway27 | last post Oct 27 '07 by: pbmods
I need to insert email address into a table, before that i need to make sure that this email address is not already in the table. to check this i used = if(in_array($email, $emailrows)) = This works however it only reads the value of email in the First row only not the remaining rows in the table. please provide the code to check all the...
18
1,689
thread by: Fester Bestertester | last post Oct 27 '07 by: Norman Peelman
Greetings, I'm an occasional php/mysql dabbler. I have a basic data form with a submit button. Unfortunately, it's still possible for the user to enter data changes and close the window, without clicking the submit button, thus losing the data. Can someone point me to a generic example of some code that will trap and handle this error?
1
1,085
thread by: pinkk58 | last post Oct 27 '07 by: ak1dnar
hi... I have stored an array in a single field, like dest in destination fiels, no_of_days in no_of_days field and hotel_name in hotel_name field in mysql .. now i want to display array values coming from database and dislpay each value in different text boxes if there r 2 records then how to display if there is 1 record then how to...
2
4,521
thread by: Daniel | last post Oct 27 '07 by: petersprc
Hello, I was wondering if I was missing something simple, an existing function, that allows me to resample image in size (width and height) as well as the file size as well. What I am trying to do is automate importing images and standardize the saved version to a typical dimension and maximum file sie (80Kb). I have found numerous...
3
2,230
thread by: Zayde | last post Oct 27 '07 by: petersprc
Is there a package of functions to do numerical integration in PHP ?
4
4,096
imarkdesigns
thread by: imarkdesigns | last post Oct 27 '07 by: ak1dnar
Hi, just want to know how can i possibly do having a breakline while typing inside the textarea box.. um, just like doing in blog page... so you can put break lines or paragraph.? sorry i cant exactly figure out the problem, but i hope you got the idea in typing paragraph in textarea in a blog page. i guess this is some kind of a javascript...
11
3,320
osward
thread by: osward | last post Oct 26 '07 by: pbmods
Hello everyone, My site needs to support 3 different languages that runs under phpnuke 8.0, phpnuke provides language interface select function that allows switching from different interface, namely using different language files. Every time when user is inside a module, when they click the language interface selection, it send the user back...
1
2,552
thread by: Kevin Blount | last post Oct 26 '07 by: ZeldorBlat
I'm getting data from an XML file using this method: $name = $xml->user_info->user; $nickname = $xml->user_info->user; & $age = $xml->user_info->user; $shoe_size = $xml->user_info->user;
2
1,460
thread by: hotrod57 | last post Oct 26 '07 by: w0rKInPHP
I have a text file that is changeable that I want to use to create a form with. Here is my text file, called 'test_read.txt": title = Test Form; checkbox = shoe; checkbox = hair; radio_button = 3; comment_box dropbox = 18-29; dropbox = 30-49; dropbox = 50-75;
21
1,680
thread by: Dev | last post Oct 26 '07 by: phpCodeHead
Dear All, I have created a website. in the contact us page i want to send all information (Entered by visitor in text boxex) directly to my e-mail address. to do this i have no idea because i am new to PHP. thanks in advance Dev
3
2,261
Markus
thread by: Markus | last post Oct 26 '07 by: ak1dnar
I'm trying to compare the random password i generated against the current password to see whether it needs changing or not. But i hit this, and can't see what's wrong with it. I'm using the mysql_fetch_array so i don't see why its saying Resuorce ID #4 :( <?php include("../library/config.php");
2
1,168
thread by: tylergs | last post Oct 26 '07 by: tylergs
Hi There, I am a newbie and believe this is the right forum to post this question in. If not, please advise me where to go. :-) I am looking to build a page that will have a form to enter in a 6 digit number. (Not 4,5 or 7, but exactly 6) They will then hit the submit key. When they hit submit it will then enter that same value different...
7
2,707
thread by: maya | last post Oct 26 '07 by: NC
hi expert php'ers.....;) is it ok to ask WordPress questions here? I mean if you don't get a response to your quetion in WP forums where else can you go?? I have WP 2.3 installed on my own hosting server.. I'm tying to do something that should be quite simple yet I can't get it to work... I want to do my own form, w/o having to use a...
0
2,015
thread by: Darko | last post Oct 26 '07 by: Darko
Hi, I have problems implementing i18n on my site hosted on a FreeBSD server. While it was hosted on a Linux server, there were no problems, but once I transferred it to FreeBSD, gettext() doesn't translate anything. Here's my directory structure: public_html |-- index.php `-- locale
3
1,819
thread by: bill | last post Oct 26 '07 by: bill
I found out that I can only set an offset in my session timezone in my ISP's MySQL server, not a timezone. So I am left with the task of setting the offset, which will vary, depending on whether or not DST is in effect. Is there a way of discovering, from a PHP script is we are in DST or standard time ? bill
5
1,719
thread by: sarangbagul1985 | last post Oct 26 '07 by: pbmods
can anyone tell me how to import database from excelsheet to mysql using php (i.e. to transfer abc.xls to database)
3
3,848
thread by: philipta | last post Oct 26 '07 by: pbmods
i am new to php... i designed a page that is submitting that is submitting,If i reload the page one message is coming up saming i cant reload the page without submitting the page again... What should i do thanks in advance
14
1,552
thread by: pedjasmek | last post Oct 26 '07 by: ak1dnar
I have these two php scripts which I use to upload a file on my server(I do everything offline): First one is called prebacivanje fajla.php and it goes: <html> <head> <title> Prebacivanje fajla </title>
1
1,098
thread by: muculus | last post Oct 26 '07 by: MarkoKlacar
How Can I write a program with php that alert me when I have new mail(for example gmail)??

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.