39,320 Topics
| |
Hi guys, Having a problem with users uploading photos onto my site. They can upload 6 images under 5MB. The memory setting is set to 128M in my php.ini and I doubled checked by phpinfo() [CODE]upload_max_filesize = 30M ;5MBlimit*6images=30MB post_max_size = 30M max_execution_time = 120 max_file_uploads = 7 memory_limit=128M[/CODE] However … | |
hi, i looking for a xml class that can handle for cdata and special caracters like ã á ç any one know something like that? thanks a lot for your help :) | |
I wish it show as unfulfilled:bb,cc extra provided:dd as my conditions and provided strings will be unconstant, anyone can suggest me some ways to do it? | |
I am getting confused by PHP at this point. I am trying to make a membership site but need a way to protect all my pages from unauthenticated access. Can someone steer me how to do this through PHP? I already have the database that does create accounts but once … | |
I would like to know if there is any way you can go to any web site on your computer and know what it was developed in, like PHP or ASP.Net or Ruby or whatever, just from going into the sight. If not, are there clues that might point in … | |
hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim . | |
I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...! | |
I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a … | |
Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have … | |
<?php // Inialize session session_start(); include('config.inc'); // Check, if username session is NOT set then this page will jump to login page if (!isset($_SESSION['username'])) { header('Location: index.php'); } ?> <html> <head> <title>Secured Page</title> </head> <body> <?php $result = mysql_query("SELECT user.password, data1.dob FROM user INNER JOIN data1 ON user.username = data1.username … | |
Hello everyone, My table is not showing right I have look over my code but I do not see anything wrong. So I figure I post it on here to see if any of you guys see it. Here it is [CODE]<html> <head> <title> Html Tables</title> </head> <body> <?php echo … | |
[CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] [/CODE] The above works only for branid=27 and If I include mutilple statements, LIKE [CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=42&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=47&pname=$1 [NC] [/CODE] it will also run for … | |
Hi all, According to my project, if a customer opens an account he should be able to deposit or withdraw cash. This is my table structure. [B]account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) [B]transaction[/B] (tran_id, transaction_type, from_account, to_account, transaction_amount, transaction_date) I want … | |
i m suffering with the following error Warning: oci_connect() [function.oci-connect]: ORA-01017: invalid username/password; logon denied in C:\wamp\www\New Folder\connection.php on line 4 but i've tried atleast 100 times, username and passwords both r correct $conn=oci_connect("sysdba", "hammad90", ""); is thr any problem in the above code? | |
Hi, I have a problem related to BACK button in browsers. In [U]very first page[/U] my basket shows "0 item". I go to [U]next page[/U] to add one item to basket and it shows "1 item" in [U]current page[/U]. If I hit BACK button in browser to go back to … | |
Hi,I want to retain value of checkbox,when some validation error occours. In this i am calling a function checkCheckBoxes() & want to call this function when validation error occours. [CODE]<input type="checkbox" name="chk1" onclick='checkCheckBoxes() <?php if (isset($_POST['chk1'])) echo ' checked="checked"'; ?>'/>check for Birth year only [/CODE] function [CODE]function checkCheckBoxes() { if(document.myform.chk1.checked) … | |
I'm having trouble with this php mail code. I'm not sure if I altered it on accident with I copied and pasted it from other sites i've worked on. It send the email however its blank, it only shows: Name: Phone: Email: Description: HTML code [CODE] <DIV style=" background-image: url(background.png);position: … | |
[CODE]<form action="" method="get" name="form"> </form><select name="list1"> <option value="MUM">MUM</option> <option value="DEL">DEL</option> <option value="BAN">KOL</option> <option value="HYD">HYD</option> </select> <select name="list2"> <option value="MUM">MUM</option> <option value="DEL">DEL</option> <option value="BAN">KOL</option> <option value="HYD">HYD</option> </select> <input name="code" type="text" />[/CODE] In above code there two list boxes . I want to show ,if I select MUM from 1st list box … | |
Please look in the attachment. The first chart shows the score vs contestant images(score wise ordered) graph generated simply using php. BUT i need the second chart (bottom 1) where chart does not proceed down but only those images of contestants are brought to next line which are relatively very … | |
Hi Guys, I have a question about PHP and Ajax/Javascript SetInterval. Im working on an application that users will be able to subscribe to and I want an email sent to them after !exactly 24 hrs. The only way that I could think of doing something like this is by … | |
Hi Frendz, In my vehicle tracking system, I have got the latitude and longitude points of the vehicle for every 30 secs while the vehicle moving. Now i need to get the report of the vehicles when it crosses from one state to another state and one district to another … | |
Hi,I want to retain the selected value of dropdown list during validation check. Need suggestion. [CODE]<select name="year_nam" id="year_nam"> <?php for($yr_nam=1950; $yr_nam<=2020; $yr_nam++) echo "<option value=\"$yr_nam\">$yr_nam</option>"; ?> </select> [/CODE] | |
Hi all, I am posting this thread to learn a bit of how mod_rewrite works. I want to specificly learn to make dynamic urls from websites, become seo friendly: [B]MADE UP LINK, DONT FOLLOW[/B] [url]www.sitename.php/index.php?sid=2&pid=231[/url] [B]MADE UP LINK, DONT FOLLOW[/B] look like: [url]www.sitename/furnitures/sofas[/url] And learn how to prevent duplicate content … | |
Alright so whatever i do i cant get this to work. Now...im not a wizzard or anything but why does it have to be so damn hard to find out if its more than 2 minutes or more in difference by the time in database to now. The "timed" in … | |
Hello Guys! :) I am just wondering how I would be able to echo a random [B]hour[/B] timestamp. Any help would be appreciated! Yours, Public-Image | |
Hi everyone! I'm trying to add the class="" to an image tag in php but I can't make it work. The code is this: [code] echo "<td width=\"$columnWidth%\" align=\"center\"><a href=\"$url\"><img class="pImageCenter" src=\"$image\" border=\"1\" /><br>$name</a></td>\r\n"; [/code] Help please | |
Hi, I am new to php development! I have email table in my database which has email records. On the page read_emails.php, i have two buttons, one is of Reply and second is of Delete. My delete button is not deleting the email record in the database.[B] Please help me … | |
hello all. i have this simple script to send emails to my subscribers. i've broken the sending into 20 emails per batch to get around getting a timeout error in my browser. without bias from using PEAR in sending multiple emails, any comments to improve the code will be appreciated. … | |
Hi all.. I've learnt a bit of html and css in the last week, and am eager to start with more complex website actions than simply posting widgets.. For instance, allowing comments to be made and feedback etc.. I was wondering whether PHP is a good place to start for … | |
I wrote a regular expression for [url]www.servicesonclick.com/products.php?brandid=27&pname=Acer[/url] that redirects to [url]http://www.servicesonclick.com/Acer[/url] and similar to [url]www.servicesonclick.com/products.php?brandid=29&pname=Gigabyte[/url] also redirects to [url]http://www.servicesonclick.com/Gigabyte[/url] and so on but its not working.. I dont want to retain brandid only retain pname. Here it is the [CODE] Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^servicesonclick\.com$ [NC] RewriteRule ^(.*)$ … |
The End.