39,323 Topics
| |
Hello, all: I have this issue with my includes files; I have this code in my htaccess file so that files that use any of these includes automatically read the includes from root folder. php_value include_path ".:/home/server/domains/mysite.com/html" they seem to work OK, but for some reason the images inside those … | |
Hi all, I am trying to build a web-page with Joomla 1.0.xx, Fireboard and Coppermine photo gallery. I am a newbie with joomla and php-scripting. What i am trying to archieve is to get checkboxes for users to use when they upload photos instead of the pooibility to write their … | |
hai i have two combo boxes in one php page. i have some items in first combo box they are populated from DB. i want to load items from DB dependent on item selected from first box. now i met one problem, i use javascript coding for this function. if … | |
Hello, I am having problems retrieving correct values from two radio buttons in my AJAX script below. The radio button values are either a 1 or 0 and always produces 0 regardless of which button is selected. Once in AJAX, I can not have the script retreive a 1 or … | |
Hi all. Just installed WAMP Server 2 (I first unistalled WAMP5 as instructed) and after launching I received a series of errors regarding missing 12 .dll files. For example OCI.dll, LIBPQ.dll, SQLITE.dll OCIW32.dll and others. They seem to be related to PHP and MySQL as far as I can tell. … | |
Hi guys, I've developed a virus scanning program using php. Well, it seems my program worked fine--- it can detected the infected files. The problem is how can I make the program to delete the infected files. It seems when I tried to developed the coding, it didn't work. Below … | |
I have this code [CODE] <?php error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); $file = "pets_feed_" . date("Ymd") . ".txt";// - for yyyymmdd if (!file_exists($file)) touch($file); $fh = fopen($file, "r"); $fcontent = @fread($fh, filesize($file)); $towrite = "ID Category Description"."\n"; $fh22 = fopen($file, 'w+'); fwrite($fh22, $towrite . $fcontent ); fclose($fh); fclose($fh22); ?> [/CODE] … | |
Hi- I'm tyring to ensure that malicious files are not uploaded to my server along with user videos. I have the videos uploading fine and I'm already checking to see if the extension is either .avi, .mpg, or .mov. However, I am not currently able to prevent someone from renaming … | |
I have Installed apache http server 2.2.4 [COLOR="red"][B]on[/B][B] Windows [/B][/COLOR]and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error. [COLOR="green"]LoadModule php5_module "C:/php/php5apache2.dll" PHPIniDir "C:/php" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps[/COLOR] It gives error like"[B][COLOR="Green"]server cant load … | |
Hi. I'm trying to modify some PHP code (actually, the HTML section inside it) to set the background as transparent, so the displayed text shows the website's template's background beneath the text. It works great in Firefox, Safari and even Chrome, but in IE7 the background is solid white no … | |
Hello there, I am trying to pass the result of a list menu to another one - Have one first list menu and the data will be dynamically from my db ---> DONE--/ - Make the result from that list menu pass it to another list menu so when the … | |
i have two combox in my page.first is for division and second for gp.when user selecte division corresponding value shoud me fill from mysql in second combox with out submit my form data.any help.. from rohit | |
Hello friends, Can anyone help me regarding how to rewrite a static page with the help of url | |
Just that really. I am walking into an already developed basic html page pointing to a php login that branches out to info rich php pages used to order business stationery. I am relativley new to the game. I started my own business and just figured out what I needed … | |
hi, modify the code or content in any webpage with out any backend and permissions if it is possible how? | |
hi all, i want a shopping cart which runs on sessions ie adding items to basket, updating them using sessions without using tables any ideas iam confused :confused: and stucked please help | |
Hi Can any one help me I have the data in the database and i retrive it using mysql_fetch_assoc using while loop and i am trying to display it it on HTML form it is not displayed can any one help me U can find my script [code=php] <?php global … | |
Hi does anyone know how to create a script that allows a user to upload an image to a website that shows as a thumbnail which when clicked allows user to view image at it's original size. I've found some code (php) that allows user to upload image to server … | |
Hi! I have three questions: 1) How much approximately costs an implementation of a shopping cart module. 2) How long it would take, approximately. 3) Could you, please, give me some... let's say... advice on how to do it, some useful links.., or what basically I have to read in … | |
Hi, Singleton classess concept , i believe i understand. I played a bit with more use but i do not know how to modify a normal context singleton for a multithreaded environment in PHP. I do understand that multithreading is not possible in PHP or could be faked only but … | |
Hello, I was wondering if anyone can help me sort this problem! I basically have a member profile feature on my site that has an update page! Members can update information such as their date of birth, location etc! I currently have a text box in which members have to … | |
hi please help me, i want to know how to enable smtp in php mysql, i have the code right so no worries there. please help | |
Hello, I need to select information from two different databases and join them into one web page. I am unsure how to go about doing this. I am not a PHP programmer, any help would be appreciated. | |
hello guys, just want to ask some newbie questions. i have a table named "students" in my database, the field names are "Lastname", "Firstname" and "Highschool". i want to sort my query by highschool field. i want to show that query results in table form. how can i sort by … | |
I am using Dreamweaver CS3 my keys went wrong .. i dont know why .. my ctrl +z, F4 .. etc are not respnding... and sometimes it shows the message as: "[B]The DynTextField script does not define the findServerBehaviours function.[/B]" I know its not completely PHP issue .. but the … | |
In my oracle, there is a table : locations( city varchar2(10), country varchar2(10)); executing the following script results the desired column. [code=php]<?php $link = oci_connect('SYSTEM', 'abracdabra', 'orcl'); $s = oci_parse($link, 'select city from locations'); if(! $s) { $e = oci_error(); var_dump($e ); } oci_execute($s); $res = oci_fetch_row($s); while($res) { echo … | |
Hi, I use a submit to POST a data to page1.php. When i am in page1.php, I go to another page. But when i want to come back, page1.php is not displayed. I know it is about POSTed data but How can i prevent this issue? Thanks | |
Hello all, I have this strange problem. During registration if user chooses to have '.' in his username, eg: sam.leo then i am getting this wierd problem . -respective tables with the given username are not getting created in the Database. Everything is working fine if usernames are having no … | |
I am trying to display image files stored in my mysql. It displays alright as a direct php echo, but when i put it in an <img.../> src attribute... I get a cross. The following is the code snippet; [CODE] ... $query = mysql_query("SELECT pid, imgdata FROM pix WHERE pid='2'"); … | |
So I want the code to allow the user to login and then direct them to their page, I'm just not sure how I can do that. Here's the table and code I have, is there a way to make "header("location:/instacp.htm");" pull the location from the table in the database? … |
The End.