39,402 Topics
![]() | |
hello i am doing png image cropping using this function. every thing is working fine. but whenever i was uploaded .png then changing the image background color into black. here is the code[CODE]$bgimage_attribs = getimagesize($bgim_file_name); if($filetype3=='image/gif') { $bgim_old = imagecreatefromgif($bgim_file_name); } else if(($filetype3=='image/pjpeg') || ($filetype3=='image/jpeg')) { $bgim_old = imagecreatefromjpeg($bgim_file_name); } … | |
how to make a pagination from several query? I have a few query and was succ displayed in one page. The problem is, it was display 100 list in one page. How can I make a paginate for this page? | |
Hi, is there any php form mail script with file upload like this website [URL="http://passportclone.com/order.php"]link[/URL]? or like the picture I've attached below, so if you the user submit, it will automatically send to my email? thank you... :) | |
Can someone help me entering a date "manually" in MySQL thanks :) here's my code it's currently entering 0000-00-00 in my databse THE HTML [CODE]<html> <head> <title>..</title> <body> <form action="work1.php" method="post"> Value1: <input type="text" name="date"><br> <input type="Submit"> </form> </body> </head> </html>[/CODE] PHP [CODE]<?php $username="root"; $password=""; $database="wapwap"; $date=$_POST['Value1']; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or … | |
Hi, I'm quite new to PHP and MYSQL, but I have chosen to do an A-level project in it. This is just a basic registering page, which I've copied and modified from one out of a book. That one works, but this doesn't, saying that "mysql_numrows(): supplied argument is not … | |
Hi Guys and Gals, I'm a graphic designer working on a website for a client, but since I've never done a website of this magnitude before, I'm needing some help with PHP - a language that I'm crash-coursing on, but I'm no where near where I need to be. I'm … | |
Ok I don't understand why the update statement only works once.. and after it rolls another 6, it wont add another 500 to the RP amount. [CODE]<?php session_start(); include("logincheck.php"); ?> <?php include_once("header.php"); ?> <td width='100%' valign='top' align='center'> <center><?php $dice = rand(1,6); echo "You rolled a<br /><b>{$dice}</b>\n"; if($dice == 6) { … | |
[CODE]<?php // Code submited by Glimpsnet systems inc. $EmailFrom = Trim(stripslashes($_POST['firstname'])); $sendto = Trim(stripslashes($_POST['sendto'])); $Subject = "APPLICATION."; // $firstname = Trim(stripslashes($_POST['firstname'])); $middlename = Trim(stripslashes($_POST['middlename'])); $lastname = Trim(stripslashes($_POST['lastname'])); $gender = Trim(stripslashes($_POST['gender'])); $dob = Trim(stripslashes($_POST['dob'])); $email = Trim(stripslashes($_POST['email'])); $altemail = Trim(stripslashes($_POST['altemail'])); $fax = Trim(stripslashes($_POST['fax'])); $cellphone = Trim(stripslashes($_POST['cellphone'])); $workphone = Trim(stripslashes($_POST['workphone'])); $homephone = … ![]() | |
Ok, I have my username set as 1 under admin and this other account set as 0 under admin. But it's not showing the page to any of the accounts and only showing the else statement. Does anyone know whats the problem? Im so confused and I have been staring … | |
hi, i looking for a way to resize a picture of any any to a custum size. in this moment i have pictures bigger than 3200px and i looking for a script that can handle that, the last script that i have tested simple "explode" with pictures bigger than 1800px … | |
There is a school locator script at [url]https://www.ocps.net/parents/pages/FindaSchool.aspx[/url] When we input any address it returns schools located in that locality. For example: Use these details and submit the form Street Number : 3902 Street Name : Bobolink Street Type : Lane City : Orlando It returns a row having three … | |
When we make a post to our site it looks fine but when we view the post we see a bunch of \r\n. We are told that we should use something like [CODE]str_replace("\r\n","<br/>",$YOUR_VAR)[/CODE] in order to stop this. Here is my question is the above correct? If so how would … | |
hi, i need do one scipt that employer can accept and reject requests for product, then print the information about the follwing product.The customers fills out a form after the custumers sends the request. please somebody help me!!! | |
Hi, [LIST] [*]In my site I have a form which anyone can submit details via e-mail. [/LIST] [LIST] [*]Since I want to get more details, I leave a space to upload a document.then visitor can browse & upload the details. [/LIST] Please can anyone tell me how can I [B]receive … ![]() | |
Hello, I'm looking to get some advise in what charters are safe to be used into a url. Into [url]http://www.ietf.org/rfc/rfc1808.txt[/url] are described a few groups (safe, extra, national etc) are there any other charters that should be stripped out when a sanitizer code run ? The idea is that a … | |
how to design a database for an enquiry form with following attributes: 1.name 2.address 3.telephone no 4.email 5.educational qualification 6.college 7.language: java vb.net vc#.net asp.net C++ php assembly embedded C vC++ (a student can opt for more then 1 language) 8.expectation on programming week: 24 16 12 8 6 4 … ![]() | |
hi, i looking for a way to use a auto fill for a inputbox text but all that i found is using a mysql bd. there is any solution using a txt file? stored in server. thanks a lot for your help :) | |
Hi, I am pretty new to php, but I am loving it! Finding out what's wrong, and finding the solution. But this time I can't find it! You can see down there a copy screen of the website I'm doing. There is a menu to the left "Clothing, Bathtime..." When … | |
Hello, I have a custom script. I want to add cart function in my script but I can't find any tutorial. Please help me, any step by step tutorial? | |
Hallo all, I am running a coupon website which will promote some website using coupons. I am using wordpress CMS. I would like to ask if somebody here could give me some enlightenment. I am using wordpress now and I would like everytime I post a coupon for a website … | |
how to calculate the date of birth by giving the date, month, year in the registration page | |
hi, i have this xml: <?xml version="1.0" encoding="ISO-8859-1" ?> - <link4> <nome>Tove</nome> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> <nome>sdsd</nome> <id>116</id> </link4> and i want simple append more elements "nome" and id inside of link4 how can i do that i using php 4 thanks a lot for your help … ![]() | |
Hello friends, I am working on downloading script. its working fine in all browsers. but in IE when i click on download button its showing the size of every file zero bytes. I have done lots of googling but didnot find anything. Please help its very urgent. I am using … | |
[code=mysql] SELECT * FROM fb.order LEFT JOIN item on order.item_name = item.item_name WHERE fb.order.order_status = 'Served' and tab_name='A' [/code] I have two different tables "order" and "item" which i joined using left join. In order table there is a column name called quantity and in item table, there is a … | |
Bear with me, I'm new here and new to PHP...at first I thought it was just me, so I started trying to copy and paste example code I found online...but even that seemed not to work. I've tried this: [code] $to = "my@email.com"; $subject = "BUSINESS"; $message = "blah"; $headers … | |
Hi, I have one client applicaiton writtn html, java script and AJAX and a remote server where I have a php script. Browser and remote server are deployed on two different machines. I want to execute php script uing ajax call with below code but it is loading php page … | |
Hey, I have been working on a class to use for pagination and I ran into a problem. I have a function that sets the variables that I will need, then I access them in the other funtions. For some reason one of my functions can't access any of the … | |
[url]http://keyonary.com[/url] When you search for something like paste all of the keyboard shortcuts slide up on your browser. I know its making a ajax requested and then using jquery for the effect. BUt how is it done. Is there a plug-in or anything in ruby that is similar. | |
Hello, This might be an easy solution for you guys, but I'm learning php on my own and I'm having problems with this code. Its giving me an output of what I want but I'm also getting this error "Notice: Undefined variable: construct in C:\wamp\www\search_exp\data.php on line 27" the line … | |
My page contains a date picker. so when i select a date, a table with list of images uploaded on that date wil be displayed.so for that i used ajax. so here is my problem wen i select a date, table appears and in that table a dropdown of users … ![]() | |
Hi.. Here is my problem: I have made a website and there was links there such as home,project,about me and so on.. But when the user click on those links the url seems to give me the full path/the full directory of where those related files/links are located. To make … | |
Hi, I have a table on MySQL server that contains several fields (id, ListingID, Scores),being utilised via a php page. The 'scores' column has the values stored as '1,2,3,4,5,6'. When a rating is added, people select their rating (out of ten) for a particular listing and this is then stored … ![]() | |
If I have these defined named constants in an include file: [code]define('FORM_FIELD_QUESTION_1', 'Question1?'); define('FORM_FIELD_QUESTION_2', 'Question2?'); define('FORM_FIELD_QUESTION_3', 'Question3?'); define('FORM_FIELD_QUESTION_4', 'Question4?'); define('FORM_FIELD_QUESTION_5', 'Question5?'); define('FORM_FIELD_QUESTION_6', 'Question6?'); define('FORM_FIELD_QUESTION_7', 'Question7?'); define('FORM_FIELD_QUESTION_8', 'Question8?'); define('FORM_FIELD_QUESTION_9', 'Question9?'); define('FORM_FIELD_QUESTION_10', 'Question10?');[/code] Then, I'm trying to loop through them and create a result in which I wanted use such as: [code]for … ![]() | |
While making the Administrator's Access page, I want to use editable gridview for insert/update/delete records from existing database.. any idea how to do this easily? (without hazards of drawing tables through html). I've checked out the following [url]http://www.ajaxdaddy.com/tablekit-sortable-tables.html[/url] But can't figure out how to link with running data from MySql … | |
when i have written fpdf coding in php. i have saved named as somthing.php (example somthing) then how to run this file. | |
I've looked up some topics, but decided to make my own for this. The error is.. Parse error: syntax error, unexpected T_STRING in /home/a2765026/public_html/forum/global.php on line 234 Here's the full code. [CODE] <?php /** * MyBB 1.4 * Copyright © 2008 MyBB Group, All Rights Reserved * * Website: http://www.mybboard.net … ![]() | |
![]() | I want to send one variable's value to another page.. How can i do with php..?? actually I'm receiving it from another page so i want to send it to another page.. |
hi guys!i need your help again.I have a database and i load the content in a textarea but the text is coming with html tags:<p><span class> etc...and if i load it directly in a table,without the textarea the content is showed normally. hope u can help me again!thank in advance! | |
Hi, This might be too much to ask, but can someone help make sure this php file code always saves current date to my "lastupdate" field of "ReservationDetailsTmp'" table? Would be great to receive response asap. Thanks a lot in advance! :) [CODE]<?php // no direct access defined( '_JEXEC' ) … | |
![]() | Hi All. Now I am really stuck here. I am trying to develop a calendar which hilights the days date (which I have done) but now I am on to the really tricky bit (for me). I need the calendar to change each month and because the different months have … |
Hi, Just need a bit of advice, no code or anything, i know someone at quite a large company who is interested in implementing their own social media site for their employees. Roughly how would one go about coding/setting this up, i imagined it would take alot of heavy duty … | |
hai, guys how to open a image directory in server and upload picture from server to database | |
hi guys, I've been following the tuts and help on this incredible site for a while and must say that you guys are really amazing and very helpful. I am learning PHP since it's very useful for site development etc. I will appreciate any help form you guys on a … ![]() | |
Hi I am quite new to PHP. All of today I have been working on a PHP user login script. I got it working fine, then I added some HTML to make it look better. The page shows up, but when i write my username and password in it just … | |
Hi Everyone. I have a page were I need to give the viewer the option to add their choice to a shortlist. Is it possible to do this in a pure PHP / MySQL environment? Regards | |
Hey guys I need your help I have created a database called mails with table called contact_mails . The main job of this database is to save the peoples mails and their names and the when i want to contact them i get the emails directly from my database . … ![]() | |
Hello advance, developer. Can you give me an open source CMS link. I need a tax calculator like [url]www.taxmatebd.com[/url] Please, Help me to find one php script or CMS link like above website. Thanks Samrat | |
hi there are a hidden in a post script such as this: [code] <form method="POST" > <input type="text" name="test1"> <input type="hidden" name="test2" value="[COLOR="Red"]example123==[/COLOR]"> <input type="submit" value="go"> </form> [/code] so in curl: [code] curl_setopt($ch, CURLOPT_POSTFIELDS, "test1=sss&test2=example123=="); // Pass form Fields. [/code] and this is wrong ! because in end of hidden … | |
Hi everyone, I have had the current users sessions set up for three days now and today for no reason what so ever the sessions have now stoppped working. I have no idea but if i echo the session it shows but wont pass through pages on my site. Please … | |
Hello everyone, I am wondering if someone already get remote reporting from Tradedoubler by using the reportkey. I tried with cURL to get the report, but i received only the login page. So i don't know if this means that the key isn't ok or if i need to simulate … |
The End.