473,888 Members | 1,434 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.
2
1,673
thread by: robin1983 | last post Oct 16 '07 by: ronverdonk
HI all, i m fresher in php and i need a help from you people. Actually i want to hide the value or show is some other value not the exact one , from user view that passed through URL, <td align="left"> <!-- <input type="submit" VALUE="EDIT" name="Edit" style="width:100px; color:#000000; font-weight:bold; border:#3366FF"/>&nbsp;&nbsp;--> <a...
8
3,066
thread by: WildernessCat | last post Oct 16 '07 by: WildernessCat
Hello there! Suppose I have an associative array that looks like this: $arr = 'some value'; $arr = 'some value'; $arr = 'some value'; $arr = 'some value'; $arr = 'some value'; $arr = 'some value'; $arr = 'some value';
1
1,160
thread by: dhruvbaruah | last post Oct 16 '07 by: ronverdonk
Hi I'm working on a classified website. The problem i'm facing is that in the Place an AD I have a section where you put the description of the product. The problem is even if the user puts paras the writeup does not take it. As an admin I have to put the <br> tags in the write-ups. How do I change the script so that it automatically take the...
2
1,547
thread by: dareinan | last post Oct 16 '07 by: dareinan
i'm using php for just 2 months now. i need to print receipts for a TPS system. how do i do this? pls help me. i have already designed a receipt using echo function. i already have a design what do i do to print out the page. email me @ ulanwolf yahoo {dot} com or message me here. wat do you suggest i do? pls its urgent. tnx.
1
1,152
thread by: Phantom | last post Oct 16 '07 by: Lumpy
I have a site with 3 main divs. Their contents include: 1 menu include file 1 layout index page And many content pages. The site should be like this: http://img520.imageshack.us/img520/4465/layoutic8.gif (Except Index is .php)
1
953
thread by: Merlin Sythove | last post Oct 16 '07 by: pbmods
Hi all, I would like to use preg_replace to add a space after normal interpunction in a message (to change "end of sentence.Begin" to "end of sentence. Begin"). However, obviously I do not want that within "words" that contain www, i.e. within URL's. Anyone any suggestions? Doing it the hard way, for example via manual checking of the...
1
1,524
thread by: gamernaveen | last post Oct 16 '07 by: pbmods
I am writing a mobile optimized file browser script in PHP , as a JAR File contains Vendor , Website , Version etc. information in it , I wanted that to display with php. Ex. $fileaddr="./sample.jar"; That variable contains the JAR/JAD file address. I wanted to echo the details as I said before. Please help me , its urgent.
2
4,386
thread by: crashpolo | last post Oct 16 '07 by: pbmods
Hi Any idea why my code doesnt work I need to pull ind ate from numerous other servers ...but the following code doesnt work <?php include 'http://server1/tmp/test.php?';?> or <?php include "//server1/test/test.php"; ?>
1
3,803
thread by: MaFt | last post Oct 16 '07 by: pbmods
hi all, i'm trying to automate the removal of files in a temp directory that are more than a day old. at present i manually go in and delete them twice or three times a week. the code i have at the moment is: exec('find /users/temp/* -mtime +1 -exec rm -f {}');
2
2,506
thread by: Jeff Gaines | last post Oct 15 '07 by: Jeff Gaines
As part of learning php I have set up an automated directory/file listing process. On my server I have a directory called 'Notes' and under that a dozen or so dub-directories on various topics, each containing a mix of html and mht files. In the Notes directory I have a php script which echoes links to each sub directory (excluding . and...
2
5,595
thread by: Big Moxy | last post Oct 15 '07 by: Big Moxy
There are numerous forum discussions on displaying an RSS feed on a PHP web site and on creating an RSS feed from a MySQL database but I would like to know how to import an RSS feed into a MySQL database. Your help is appreciated!! - Tim
2
1,049
thread by: helraizer1 | last post Oct 15 '07 by: ronverdonk
For my project of making a chatbox, I am working on implimenting a code to keep it "clean". So if someone enters a word that could be deemed offensive it changes that word to "****". $dirty = "rude word1"; $dirty = "rude word2"; $dirty = "rude word3"; if (in_array($_POST, $dirty)) { $text = "****"; }
1
1,580
thread by: dyetube | last post Oct 15 '07 by: ronverdonk
I searched here but could not find an answer so hopefully it hasn't been asked. I would like some direction to a site the helps explain what I am needing to do or provides me with some code help as I have not written any code as of yet because I don't know what I need to write: I am creating a form for my company that allows the user to...
8
2,411
thread by: udaypawar | last post Oct 15 '07 by: Motoma
Hi all, I am here back with some doubt. Can I convert Msdoc file to text file on Linux environment without using any third party software. I want it either by Java class or PHP. As its shared environment its not possible to install any software over there. It already has PHP and Java installed. Can any one help me with that.
14
4,410
thread by: jahphill | last post Oct 15 '07 by: jahphill
Hey. Im new here and a total newb at scriping =D Right this is what im trying to do. I want to make a radio button connected to a text box. Say the button 'define' has been clicked, and in the text box 'php' has been written in, it should go to google where 'define: php' has been written in and searched. This is what i have done so...
2
2,409
thread by: coder | last post Oct 15 '07 by: coder
I have what is probably a simple question. In a form I get the variables with $_POST and then enter an insert into a database. After doing this, I set the variable to an empty string. The form displays this empty string. So far, so good. If the user now hits the refresh button on the browser, the value of the variable stays at the old...
4
3,306
thread by: Aaron | last post Oct 15 '07 by: Sanders Kaufman
AJ Dating Script is built with focus on increased ease of users and raised profits of webmasters. PHP/My SQL development are the cornerstone of our work. We also provide solutions in various domains like auction, jobs, dating, matrimonial, HYIP, matrix, affiliate system, content management system and more. And desktop software includes system...
1
1,921
thread by: gamernaveen | last post Oct 15 '07 by: ronverdonk
Is that possible ? I want to display a DOC file , as a doc file contains basic formatting and a simple tag type code in it , is it possible to display it ? If so , how can it be done ? Please help me.
1
1,911
thread by: gamernaveen | last post Oct 15 '07 by: ronverdonk
Is that possible ? I am writing a file browser , I wanted to show the album art , file author , comments , artist information. Please help me.
4
5,123
bugboy
thread by: bugboy | last post Oct 15 '07 by: bugboy
I'm inserting a new word into table 'w' and a definition into table 'c' which are linked in table 's' which is the relation table for the many to many relationship between 'w' and 'c'. I've been passed 2 variables from a form; $word and $def and i'm inserting them ok but i'm having trouble getting and passing on their ID's in order to insert...
3
1,308
thread by: shmoopie | last post Oct 15 '07 by: ak1dnar
Hi, I have a php form that I want to use to pass a user specified "start date" and "end date" to a mysql database to retrieve reservations. I want the number of days up to and including the "end date" to be displayed for both of these scenarios: 1) The item is still on loan as of the "end date" 2) The item has already been returned as of...
0
284
thread by: Aaron | last post Oct 15 '07 by: Aaron
AJ Dating Script is built with focus on increased ease of users and raised profits of webmasters. PHP/My SQL development are the cornerstone of our work. We also provide solutions in various domains like auction, jobs, dating, matrimonial, HYIP, matrix, affiliate system, content management system and more. And desktop software includes system...
14
1,253
thread by: DementedGimp | last post Oct 15 '07 by: DementedGimp
I have a form calling below php snippet, and all it does is echo ".dat" on a blank page... what gives? <?php $username = $_POST; $fname = $username . ".dat"; if (!file_exists($fname)) { //uniqueness chdir('data'); copy('blank.dat',$fname); $handle = fopen($fnname,"a"); fwrite($handle, $_POST); chdir('..');
4
5,708
thread by: karthikeyanck | last post Oct 15 '07 by: pbmods
I'm a newbie, I've installed PHP, Apache and MySQL on my Ubuntu system I've trouble in quering the data from MySQL when using the query function within PHP. I 've created a Database "test", Table "employee", i 've two columns "username" and "password", I've data "admin" and "admin" on both username and the password columns. $u and $p...
0
2,037
thread by: cosmicxdust | last post Oct 15 '07 by: cosmicxdust
I am using Wamp5 v1.7.3 (PHP 5.2.4, Apache/2.2.4). When installing php-java-bridge-3.2.1_j2ee, I copy php_java.dll from PHP/Java Bridge to D:\php\ext. When I start all services, I got this Apache log error. PHP Warning: PHP Startup: java: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=1 PHP ...

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.