39,402 Topics

Member Avatar for
Member Avatar for muralibobby2015

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); } …

Member Avatar for muralibobby2015
0
118
Member Avatar for faizabest

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?

Member Avatar for muralibobby2015
0
42
Member Avatar for Charles1718

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... :)

Member Avatar for EverWebby
0
104
Member Avatar for ekseks

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 …

Member Avatar for niths
0
6K
Member Avatar for mickeymoose

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 …

Member Avatar for looxlmc
0
412
Member Avatar for RJB_Ronnie

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 …

Member Avatar for almostbob
0
194
Member Avatar for Tenaciousmug

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) { …

Member Avatar for EverWebby
0
118
Member Avatar for Intelsoftinc

[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 = …

Member Avatar for diafol
0
213
Member Avatar for Tenaciousmug

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 …

Member Avatar for Tenaciousmug
0
118
Member Avatar for srdva59

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 …

Member Avatar for smilingrose
0
92
Member Avatar for milestonesweb

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 …

Member Avatar for chrishea
0
133
Member Avatar for valonesal

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 …

Member Avatar for valonesal
0
116
Member Avatar for toydiaz

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!!!

Member Avatar for EverWebby
1
116
Member Avatar for hansan

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 …

Member Avatar for rajarajan2017
0
95
Member Avatar for silviud

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 …

Member Avatar for EverWebby
0
108
Member Avatar for heena sharma

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 …

Member Avatar for rajarajan2017
0
144
Member Avatar for srdva59

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 :)

Member Avatar for EverWebby
0
47
Member Avatar for bouhbob

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 …

Member Avatar for EverWebby
0
1K
Member Avatar for kunnu

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?

Member Avatar for EverWebby
0
119
Member Avatar for lioneysg

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 …

Member Avatar for EverWebby
0
122
Member Avatar for azarudeen

how to calculate the date of birth by giving the date, month, year in the registration page

Member Avatar for proDharm
0
169
Member Avatar for srdva59

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 …

Member Avatar for diafol
0
63
Member Avatar for navi17

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 …

Member Avatar for navi17
0
138
Member Avatar for ariffin246

[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 …

Member Avatar for ariffin246
0
123
Member Avatar for madkat3

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 …

Member Avatar for seventeen
0
2K
Member Avatar for sridharjakkula

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 …

Member Avatar for sridharjakkula
0
174
Member Avatar for keyroche

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 …

Member Avatar for keyroche
0
215
Member Avatar for alexgv14

[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.

0
50
Member Avatar for andrewliu

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 …

Member Avatar for silviuks
0
186
Member Avatar for niths

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 …

Member Avatar for diafol
0
177
Member Avatar for samsons17

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 …

Member Avatar for blocblue
0
168
Member Avatar for raaboo

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 …

Member Avatar for diafol
0
169
Member Avatar for Witblitz

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 …

Member Avatar for diafol
0
156
Member Avatar for Chandrima31d

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 …

0
39
Member Avatar for selvam543

when i have written fpdf coding in php. i have saved named as somthing.php (example somthing) then how to run this file.

Member Avatar for ariffin246
0
85
Member Avatar for The Z. Will

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 …

Member Avatar for rajarajan2017
0
865
Member Avatar for kirtan_thakkar

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..

Member Avatar for bouhbob
0
4K
Member Avatar for jhonnatas

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!

Member Avatar for jhonnatas
0
80
Member Avatar for cyberjorge

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' ) …

Member Avatar for almostbob
0
258
Member Avatar for doctorphp

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 …

Member Avatar for fxm
0
109
Member Avatar for benhowdle89

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 …

Member Avatar for jrivera
0
125
Member Avatar for lijukochumon

hai, guys how to open a image directory in server and upload picture from server to database

Member Avatar for metalix
0
71
Member Avatar for mcld

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 …

Member Avatar for diafol
0
105
Member Avatar for stu9954

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 …

Member Avatar for chrishea
0
182
Member Avatar for LRNPHP

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

Member Avatar for ronty2010
0
286
Member Avatar for Awah Mohamed

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 . …

Member Avatar for rajarajan2017
0
90
Member Avatar for aynamohol

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

Member Avatar for aynamohol
0
154
Member Avatar for wickietetsu

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 …

Member Avatar for whiteyoh
0
109
Member Avatar for BlueCharge

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 …

Member Avatar for whiteyoh
0
91
Member Avatar for brunope

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 …

Member Avatar for brunope
0
554

The End.