39,402 Topics
![]() | |
Hi and I have just noticed with my media wiki installation that all of my pictures in mediawiki are suddenly broken. The files are there but if I enter the path location in the url bar it takes infinit time to load (never loads - no error). Same for in … | |
Im attempting instal xamplite but apache wont run for some reason. Ive tried reinstaling it and the regular xamp but the same error keeps occuring! Ive included the technical details below, any help would be much appreciated! I just want to get learning PHP .... Technical Information C:\DOCUME~1\MICHAE~1\LOCALS~1\Temp\WERcf37.dir00\httpd.exe.mdmp C:\DOCUME~1\MICHAE~1\LOCALS~1\Temp\WERcf37.dir00\appcompat.txt Error … | |
Hi, I am having a little access/control issue. I can add a user to the database using a signup page, go back to the login page, and then log in using the new user. but if i click on a link to go to anoher page that requires the user … | |
Hey, I am trying to recursively retrieve the directory listing of a given directory that is, print out all files and folders (and sub folders) of a given directory. My function #1 does not work, however the function someone else has written #2 does. Why is this? My Function #1: … | |
I am trying to find a simple script to upload some php files to my webserver. I do not have ftp access over than via a GUI for the provider which sucks, I have a script running on my local server to make some file changes, I then want to … ![]() | |
Does someone have or can they direct me to a javascript which will display an alert message when a date is not entered correctly. MM/DD/YYYY. I do not need an alert message if they clear the field - validate only if there are characters in the field. After is there … | |
Hi Friends, I am new for PHP, and if there is any mistake please excuse me. What i wont here is to get some data from a Database table and pass it to an array(multiple). [code=php] $sql .= "SELECT ID,Name FROM refer_table order by id"; $result = mysql_query($sql) or die … | |
Please share with me which direction to head on the following PHP work environment i.e. Which IDE browser addon etc. Base application development directory and subs Base files for a typical site any help in rapid app dev Thanks to all that share "THEIR" configuration.... | |
Hey guys, I have a contact form with a image verification and a checkbox to sign up for a newsletter or not. What I'm trying to do is send an extra email to a email address if the checkbox to sign up for a newsletter is checked. The newsletter system … | |
Hi All I have a problem with a a page with 2 forms on it. The first form controls the input from a drop down list and the second has a series of text boxes. When I submit the form I cannot get any values from the second form. I'm … | |
I have several record sets for example.. $row_Recordset1['NoPages_A'] $row_Recordset1['NoPages_B'] $row_Recordset1['NoPages_C'] Each has a value of say A-"16", B-"16", C-"8". I can get the total value of "40" by the following.. [CODE] <?php $A=($row_Recordset1['NoPages_A']); $B=($row_Recordset1['NoPages_B']); $C=($row_Recordset1['NoPages_C']); $Pages=($A+$B+$C); echo "$Pages"; [/CODE] But I also want to get a value of "1" for … | |
Hello, I want to create reports in php, but i have no clue where to start from. Could you list me some good softwares to generate reports in php? It would be of great help ! Thanks ! | |
Hi, What is the best WYSIWYG PHP, HTML, CSS etc. editor for Ubuntu? Thanks | |
Can anyone help in this please Just wanted to keep the table as drop down menu [CODE] </table> <p> </p> <table bgcolor="#CB344F" cellpadding="0" cellspacing="0" align="left"> <tr> <td align="left"> <p>Search Information</p><br/> <form action="pst.php" method="GET"> First Name:<br/> <input type="text" name="f" style="width:150px;"><br/> Last Name:<br/> <input type="text" name="l" style="width:150px;"><br/> Company <br/> <input type="text" name="co" style="width:150px;"><br/> … | |
I've built a function which builds options for a SELECT FIELD. It draws options from a list table and then appends the SELECTED when the value that I am looping through in present in the $selected ARRAY. In my $FieldValue, multiple values are delineated by a "\r". I use and … ![]() | |
hello everyone. im using a cms and i have just changed the strucutre of my site's url making changes in the core files. here is an example what i have done. at first urls were: [url]http://www.linkzdirect.com/photo/gallery/picture-name[/url] now they are chagned to : [url]http://www.linkzdirect.cm/[/url][COLOR="Red"]art[/COLOR]/gallery/picture-name everything seems to be working fine. i … | |
we have a thesis named online bus reservation system.. the system composes of three bus companies where passengers can reserve, cancel and reschedule a specific trip.. is it advisable for the customer to have a log in ??? how can we add a new bus company?? the added bus company … | |
im a newbie php developer... i've tried sending an email n receiving the confirmation back for activating the users... here is the email sending code : [CODE]if($res) { echo "record added"; $to = $mail; $sub = "Confirm Mail From LeLys"; $header = "from: admin<support@domain.org>"; $message = "confirm link \r\n"; $message.= … | |
[B]New great php templete engine (RainTPL)[/B] i found this and test it but i want any comments about it [URL="http://www.jooria.com/scripts/PHP-Templates-Engine-118/RainTPL-816/index.html"]the download[/URL] [URL="http://www.jooria.com/Tutorials/Website-Programming-16/Templag-Your-Site-with-RainTPL-141/index.html"]the documentation[/URL] thanks | |
Hello, I have a category structure upt to 5 levels deep. My table looks like this; [code=sql]CREATE TABLE `categorie` ( `ID` int(11) NOT NULL auto_increment, `category_name` text NOT NULL, `parentID` int(11) NOT NULL default '0', UNIQUE KEY `ID` (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Cats' AUTO_INCREMENT=91 ;[/code] And I would like … | |
hello, I am trying to experiment with page caching. I would like my page to be cached by the browser for 15 mins. Because the page content does not change much but it downloads thousands of the same records from the database every time the page loads. I am generating … | |
Hello, I'm working on a recursive loop subcategory system. The code below is ALMOST where I need it. The last thing I'd like to do is indent each subcategory based on levels deep, rather than just separate by commas. I can't seem to wrap my head around it. Any suggestions? … | |
I have the following code that pulls data off a mysql database and stores it in a 2D array ($rows). But after I print the contents with a foreach loop I just can't seem to be able to use that array again! Can't figure out how to reset it (printing … | |
Hi.. i'm basically a novice in php and have been trying to work out on a multiplication tables using textboxes (to arrive at the square of each number using loops). Given below is the code. Herein i'm not sure as to how to define the variable component which needs to … | |
i already have a running code regarding this, however, when i embed the database, it cannot access the next records...help pls.. ![]() | |
Hi , I am using an explode function to split some comma separated colors into a drop down list. [CODE]<?php // Split the string up into an array of values $dropdown_data = explode(",", $row_rsApparel['Item_Colors']); // Output a dropdown echo '<select name="color" id = "color">'; foreach($dropdown_data as $key => $value) { … | |
hi friends, i am new to this forum. i got a problem for sending mail to checked values(check box) on the form. i enclosed the file for us. please any one check this and fix my error as soon. | |
Hi all, My client wants to host the videos on his site using the embed code and link of the video. What is the best way to protect the videos from downloading or saving it into pcs. Client wants his videos to remain secured and private and users can view … | |
I need to format PHP to use with one of my date field (DATETIME). I want to get current time and format it. I have checked some googled articles but I cannot get far. Please help me! | |
Hello! I am a newbie who's trying to code in my app a way to send email with file attachments. Here's the code I put together (thanks to Google!). [code=php]<?php $fileatt = "/somedir"; $fileatt_type = "application/zip"; $fileatt_name = "logos.zip"; $email_from = "joe@work_email.com"; $email_subject = "attachment test-subject"; $email_txt = "attachment test-body"; … | |
Hi folks, I wanted to get the value of the clicked A href links, somebody please help.... i have something like this, [CODE] <a href="javascript: void(0)" onClick=window.open('<?php echo $rows['file_name']?>','welcome') style="border:0 ">View</a> [/CODE] So i want to get the value if user clicks the href button. so please anybody... | |
 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Hello guys.. Above are the errors that … | |
How to get value from Dropdown and text values Please advice [CODE] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="tst.php" method="GET"> Input Keyword: <input type="text" name="q" style="width:200px;"> <input type="submit" value="Search"> </form> <select> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="Alaska … | |
I have a table displaying some leave information about staff. In the table, the value for "from" date, "to" date and leave entitlement for staff is retrieved from the database and are allowed for update. I'm using onChange function to keep the table updated wherever there is any of the … | |
Hey everyone, I'm new here and desperate for help. I need to figure out how to send an image created by an SWF and emailed out automatically. I'm super new at PHP trying to teach my self the language. so far I can create the image but I can't do … | |
I am new to php/sql, please forgive what must be a very basic question. I created a simple php form and have it send the data to a 2nd php page which then inputs the form data into a sql DB. I have it working 100%, but a question comes … | |
Hello, Thanks in advance to anyone who can answer this question. Can I record a users ip address without them logging into my site? I have a list of documents that I would like to make available and would like to get an idea of who may be viewing them. … | |
New to javascript please help me create a link after we click on submit button What is happening is when we click on submit button, it directly does the action on query to google But instead need this to create a link I mean when we hit search the javascript … | |
Hi guys , I am new here. I am facing some error in ma vbulletin forum. my php memmory limit is set to 32MB . while trying to upload a file to forum(URL UPLOAD) i am getting a error Fatal error :out of memmory(tryied to allocate 123334bytes of 682111 byts) … | |
I'm an amature programmer that has recently started to work with php and I think i got it down for the most part. But im currently attempting to develop a custom web administration page. One of the features I would like to add is the ability to see what programs/services … | |
Hi, I need to generate a PDF report from my MySql. The problem appears when we want to write in Persian. The PDFlib appearently doesn't support UTF-8. I also checed UFPDF. It neither work well. Any advice? I use: PHP Version 4.3.7 mysql: Client API version 3.23.49 | |
Overview this is a fast way to delete Records from your mysql datebase without loading the page . this jquery code can Delete a Record with animation fade-out effect using jQuery and Ajax. <FAKE SIGNATURE> | |
Hi All, I have coded a function to work out all the possible combinations givien a list of properties and options. If the script was working out all the possible ways people would like toast, it might look like this. [CODE] Array ( [Bread] => Array ( [0] => White … | |
i need to use a php script to recieve an email body text from flash and send that email to a fix address with a fix subject. i was able to do so but i got stuck with 2 problems: 1. why does a multiline text data get sended as … | |
Does anyone know how to embed google maps into phpbb3? | |
Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC … | |
[code=php]$matches=array(); preg_match_all($regex, $fragment, $matches, PREG_PATTERN_ORDER); [/code] I get the following error for the input $regex = [\]world[\] and $fragment = hello world: Severity: Warning Message: preg_match_all() [function.preg-match-all]: Compilation failed: missing terminating ] for character class at offset 11 Filename: controllers/admin.php Line Number: 499 can someone please help ?? :( | |
now, i already have a running pagination using php, but i want it to be more eye-catchy, instead of using words or links, i want to use images, like the one's here in daniweb, wherein numbers are enclosed in a box, how will i do that? thanks in advance... | |
Hi In my postgres databse, I have a table named grid_data. I want to insert a new row in that table whn someone enters values in the html form.. But dnt knw why its not working. below is the code. [CODE]<html> <head></head><body> <form action="test_insert.php" method="POST"> <table><tr> <td><input type="text" name="employee_id" value="0" … | |
Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private … |
The End.