38,019 Topics

Member Avatar for
Member Avatar for realnsleo

hi...i want to use the preg match function to verify a string that should have the format format of a year - two digits - two letters - two digits, like this: [in]2005-03-IT-031[/in] thanks

Member Avatar for johny_d
0
86
Member Avatar for mnavarro

Im trying to handle .tar files with the PEAR Archive_Tar library, so i added the library directly to my lib directory on the website im developing and i copied a script to make a test which is the following [code=php] <?php include_once('../lib/Tar.php'); $tar_object = new Archive_Tar("../files/tarFiles/test.tar"); if (($v_list = $tar_object->listContent()) …

0
70
Member Avatar for nguyenthaithuan

Hi all! I am PHP beginer, I have some trouble about install, using pdflib for PHP(version 5.1.4, Window XP). Please help me ! If so be, thanks to all. Maths

Member Avatar for w_3rabi
0
87
Member Avatar for bubai
0
47
Member Avatar for LilSniper

I have no idea what to do next. I have no idea what PHP is. I don't know where to download PHP and MySQL. Also, I am having trouble with the definition of terms. What is a webhost? Please help. Thanks.

Member Avatar for J-to-the-D
0
156
Member Avatar for danielwoodhead

Hi I am tring to populate a drop down by selecting another drop down. The first drop dwon populates from eventdata table and i want the second drop down to populate from a race table. I have tried to find the row which contains the same event id as the …

Member Avatar for johny_d
0
3K
Member Avatar for heliumgas

hello i´m trying to use the messagebox ok cancel in java to confirm or cancel when i try to eliminate some data from the database. i don´t know how it works. could somebody help me, or give me an example...

Member Avatar for UrbanSky
0
75
Member Avatar for assgar

Hi I was using a schroll bar to display multiple rows of dynamically created from database records. The scrolling was not displaying the data properly so I have decided to use pagination. The problem I am having is, if I select one item on page #1 and another on page …

0
64
Member Avatar for jnscollier

I have a form and here's what I have an issue with.... If the user types something in the boxes, and then accidentally goes to another site/page in the site WITHOUT hitting submit on the form, all the data is lost when they click the back browser button. What I …

Member Avatar for digital-ether
0
356
Member Avatar for techhelpforme

what is php id? what does it let me do? does it let me put more than one page inside one file or something? If it does something like that, how do i use it? what is the code for it? Please help. I am sort of new to php.

Member Avatar for bitmaster
0
416
Member Avatar for genievb88

hello guys, im practicing doing a website but i have a question, can i maintain the site from any computer or it has to be the computer that i set it up on? thanks in advance

Member Avatar for digital-ether
0
74
Member Avatar for Riazansar

dear members ! In my job i jst face this problem with one of our PHP based sites. what this script does is that asks users for some inoformation when they want to have a folder in one of our web servers. now the problem is that when they submit …

Member Avatar for Riazansar
0
219
Member Avatar for chubbywubba

[COLOR=green]If PHP is ran through the Apache server the files must be in the what folder?[/COLOR]

Member Avatar for UrbanSky
0
53
Member Avatar for Upon1

I am currently using the PHPNuke portal (7.9) and I've been having some problems lately with my phpBB forums. I installed the system in January and have been tinkering around with it since. Everything has been running smoothly until a few weeks ago; my forums quit working. For no apparent, …

Member Avatar for Upon1
0
223
Member Avatar for 7arouf

hey there i have a small question if u don`t mind my background is asp.net and i will apply for a job that requires me to know php, but i have never worked before with php are there any major differences between asp.net and php? and does both have the …

Member Avatar for w_3rabi
0
118
Member Avatar for welbyobeng

There is a script I am using....A Media Gallery...everytime I put in a javascript, it does not work. When I put [quote]<script type="text/javascript" src="[URL]http://www.example.com/js/swfobject.js[/URL]"> </script> <script language="javascript" src="[URL]http://www.example.com/js/player.js[/URL]"> </script> <script language="javascript"> var config = new Array(); config["width"] = 400; config["height"] = 300; config["clientId"] = "example"; config["bgColor"] = "#FFFFFF"; config["playList"] = …

Member Avatar for digital-ether
0
99
Member Avatar for jscriptanit

I am in LAN.I want to put my site in a PC of that LAN and access from another PC of that LAN.What will be the procedure of that.

Member Avatar for Phaelax
0
111
Member Avatar for JSR

Anyway, i'm working on a PHP module for a CMS where if in the database a website user is either selected as, "GBP" or "EUR" in their Countries' currency field, a set of text is displayed. And if the users' currency is either, "USD" or "JPY", a different set of …

Member Avatar for JSR
0
124
Member Avatar for cancer10

Search for a string in a variable--- Is there a way to find a particular string in php. For example: I want php to echo "Found" if the word "sports" in found in this url [url]http://yahoo.com/sports/soccer/index.html[/url] if not then it should echo "bad Luck" Is there any pre-defined function for …

Member Avatar for digital-ether
0
98
Member Avatar for sweetcrabhoney

[COLOR=navy]it says... Parse error: parse error, unexpected T_STRING in /home/onelastr/public_html/hyip/config/config.php on line 11 I'm very new to all this but i dont see what the problem is.. please help me.. any advice would be nice heres the script..[/COLOR] [I]<? define('dbHOST', 'localhost'); define('dbNAME', 'onelastr_hyip1'); define('dbUSER', 'onelastr_simba'); define('dbPASS', '...........'); define('PageAddress', 'hyip.onelastrose.com'); define('PageTitle', …

Member Avatar for sweetcrabhoney
0
88
Member Avatar for Eko

The following cod,when I press the [I]SUBMIT[/I] button , I get [I]"[COLOR=Red][COLOR=Black][B]Forbidden[/B][/COLOR], You don't have permission to access /< on this server[/COLOR]." [/I][code] <html> <head> <title> The Internet Joke Database </title> </head> <body> <?php if (isset($_GET['addjoke'])): // If the user wants to add a joke ?> <form action="<?=$_SERVER['PHP_SELF']?>" method="post"> <p>Type …

Member Avatar for Eko
0
104
Member Avatar for Estreetloans

Does anyone know a good source for some basic beginners type tips for using php? Thanks?

Member Avatar for jbennet
0
232
Member Avatar for Turnkey Monkey

Hello I am Marcus and I am building a directory service and need some help using php. I am new to working with a server but I did read Sams Teach Yourself book on this subject and ubderstand what needs to be done, but still have trouble finding a script …

Member Avatar for dr4g
0
178
Member Avatar for tomf
Member Avatar for MaestroS

Well, I were trying to make code that gets a XML element from the file and replaces with new data. Here is my code. Parsing command: function ExecuteCMD($forplayer, $what, $to) { $player_dir = 'D:\\Programy\\Open Tibia Server Project\\DeadTouch Binary\\data\\players\'; $SetPlayer = file_get_contents($player_dir . "\\" . $forplayer . ".xml"); $SetPlayer = str_replace($what, …

Member Avatar for dr4g
0
755
Member Avatar for SuperioAssassin

I have been looking at this code for some time and just can not figure anything wron with it. My Error Message is: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/gwthorn/htpsinc-web.com/York_County/login.php on line 13 I commeted 13 [CODE=php] <?php session_start(); //The fields are censored but …

Member Avatar for dr4g
0
143
Member Avatar for jscriptanit
Member Avatar for dr4g
0
94
Member Avatar for cancer10

ok, see the code below [CODE] <? $rsQry = mysql_query ("select * from tblCustomer"); $arrQry = mysql_fetch_row($rsQry); ?> [/CODE] Now if I try to fetch a Customer's Name from the "Customer_Name" column from the "tblCustomer" table with the following code then I dont get anything: <? echo $arrQry["Customer_Name"]; ?> Why? …

Member Avatar for omick16
0
104
Member Avatar for hbmarar

Hi, Wishes. I am trying out with the cakephp framework but got stuck with the initialising the database with acl.php... i changed the directory to the scripts folder and tried the commad mentioned. But it do not seem to work... i dont know why? i used the db_sql file to …

0
65
Member Avatar for realnsleo

hello, could someone show me how to redirect a page in php after a specific amount of time like 5 seconds. thanks

Member Avatar for johny_d
0
96

The End.