39,316 Topics

Member Avatar for
Member Avatar for pgperez

Hello everybody, I'm having the same problem. I can connect to a SQL server with default instance (no named), but can't connect to a named instance! I tried escaping backslashes, and putting port number, with no success. Examples: $connection = mssql_connect('MYSERVER', 'USER', 'PWD'); --> WORKS OK $connection = mssql_connect('MYSERVER\INSTANCE', 'USER', …

Member Avatar for pgperez
0
117
Member Avatar for tito2004

Suffering for hours Trying to fix it by no Hope syntax error, unexpected $end in C:\???????\index.php on line 547 the lines form 511 to 547 are [CODE]<? ContentBlockFoot(); ?> </td> </tr> </table> <? BottomCode(); function error_handler($errno, $errstr, $errfile, $errline) { switch ($errno) { case FATAL: echo "<b>FATAL</b> [$errno] $errstr<br>\n"; echo …

Member Avatar for almostbob
0
167
Member Avatar for canadian_angel

Hi, I am new to php and have to do a project that consists of a joke page, a jokelist page and the front page or index page. My problem is this: I have used the text below in my .htaccess page and the only thing I get when I …

Member Avatar for muralibobby2015
0
165
Member Avatar for EverWebby

I have been trying to figure out how to perform a search and replace in php to create links within the text of paragraphs without having it interfere with any naming conventions in HTML codes, styles, names, and ids. I was considering preg_match or preg_replace, but I am the worst …

Member Avatar for EverWebby
0
142
Member Avatar for HemantPHP

Hello Any one know the rules for htaccess, I have follow requirement: [url]http://www.domainname.com/aboutus.php--input[/url] [url]http://www.domainname.com/aboutus/[/url]--Need this output

Member Avatar for muralibobby2015
0
220
Member Avatar for kidanr

Hello, I've got this code for my pictures when they are being uploaded, but I have a problem. I want to be able to create a thumbnail with the size 125*180 for every picture and name them their filename but like this "thumb_filename.jpg" etc. I have searched on google and …

Member Avatar for muralibobby2015
0
133
Member Avatar for architact

Hello, I just finished creating an online site builder and now its time to launch it, I am facing a problem related to URL-Rewriting. My site builder contains all the files and folders which will make up the client's site inside a folder named as "usersite", and can be access …

0
121
Member Avatar for samarudge

Hey, Is there a way to get Apache to interpret all files with MIME types that are not already defined to PHP? I've tried AddType application/x-httpd-php * Any other ideas? Tnx, Sam Rudge

Member Avatar for Atli
0
63
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
115
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
38
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
101
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
402
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
191
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
115
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
211
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
115
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
89
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
130
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
112
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
111
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
93
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
104
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
141
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
45
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
117
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
89
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
159
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
61

The End.