39,316 Topics
| |
Hi I'm really puzzled on this one. I'm sending data from a form to be written on a line inside a file. However I've tested this a few times now and occasionally the line will end early when writing and it really messes things up due to another process depending … | |
Do you of any site sites that has open source on KMS or any website that i can go to see what king of information i can get on how to create on php. | |
I have a sendmail.php script which evaluates whether or not certain pieces of information are available and/or are within the correct parameters. Within this code I have defined two variables : [code] $maxsamples = 3; $minsamples = 1; [/code] I also have another variable which is a summation of several … | |
I have this form, and this antinjection. I have checked for anti injection in three places and it still is quite easily injectable. Code: [code]<?PHP $sql_server = "localhost"; //<-- MSSQL server address/ip $sql_user = "sa"; //<-- MSSQL username $sql_pass = "sa"; //<-- MSSQL password $sql_data = "database"; //<-- MSSQL database … | |
I has build a tool that can detect all inbound link to my website. I try it with a website that have high link popularity and there is more than 1000 inbound links in there. But there is no way to view more than 1000 inbound links with yahoo API. … | |
I'm looking into developing a forum for medical purposes, however, although I have developed several websites in the past (mainly via Photoshop and Dreamweaver), I have never worked with forum software before. I am battling with whether or not to go with Invision Power's new Version 3 or VBulletin. I … | |
I'm not a programmer, but I did study C for a while. I can figure out how to find functions, look at their syntax, see examples and then try them. So here's my siutation. I want the url of the output of a web site into a php variable. Here's … | |
Hi Everyone I want to clear my session after browser is closed. Have any idea? Thanks in advance | |
Hi, I have a WAMP based Site and would like to user path as a variable instead of fixed path. I tried variable like [CODE=PHP] $sgospel = "$server./sgospel/"; $include_path = "$sgospel./includes"; echo($server); echo($sgospel); [/CODE] Results are: [QUOTE] [COLOR="Red"]C:/wamp/www/ C:/wamp/www/./sgospel/ [/COLOR] [/QUOTE] When I put [CODE=PHP] $f_path = "$include_path/inc.terms.php"; echo($f_path); [/CODE] … | |
Hello! I didn't knew where to post this so i posted it here. I am trying to make messages limit.e.g. i am having 100 messages in database and i want to display 10 messages per page and the next page will appear below the last post.Just like here in Daniweb.com.But … | |
If anyone is familiar with Mambo Content Manager, I would like to know how the system saves configuration settings to configuration.php. I would like to implement this idea into my own site, but I cant figure out how a PHP page rewrites and saves another page on the server. Anyone … | |
Hi everyone. I am selling a product and i would like to use a selection of affiliate networks.. As far as i know these affiliate companys track the sale there companys affiliates make by inputting code into your html. is this correct? If so if i were to use 50 … | |
hi, i have a problem,that is i have 2 datatables.in that tables item_id is uniqueidentifier and primary key column for both tables.remaing columns are diffrent columns.if i insert the data generate only item_id same guid for both tables,in remaing data is saved remaing columns.plz help me.i search a lot of … | |
I was thinking of a new project for making a bot that scans daniweb for information and enters useful information into a database then people can ask the website questions and php+mysql will provide answers in paragraph form for the user to read. Is this ok on the legal side … | |
Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines … | |
In order for my users to log in they have to activate their account through email. The activation works fine. The trouble I am having is displaying a message at login if the user has not activated. Here is the activation script: [code=php] <?php require "connect.php"; if(isset($_GET['u'])){ //make sure that … | |
I need help with this. I am sure its an easy thing.. but I am stumped for some dumb reason.... all this works just fine.. but what I want to echo out is fname and lname of each person once they are selected as well as the next section of … | |
Hello. I am seeking some help on job board script that I am working on. I am trying to use the below script to update the database if the current job is 30 days past the start date or post date. The code below is not working and if I … | |
I want to upload a big file (about 80M) through the web, but it seems not working. Small file will be OK. html file: <input type="hidden" name="MAX_FILE_SIZE" value="128000000" /> php.ini: file_uploads = On upload_max_filesize = 128M max_input_time = 60 memory_limit = 128M max_execution_time = 30 post_max_size = 128M httpd.conf: LimitRequestBody … | |
[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, … | |
Hi all, i am new to php, i dont know how to run the php files, i am going through some tutorials, but not able to install it on my pc. i have dowloaded . . but dont know how to proceed further so please help me out ...... regards, … | |
hello., I'm newbie here., this is my first post^^ how are u doing all??? i hope u are good. ok, let start with my problem in use codeigniter framework, where i want to upload multiple file in same form but with different allowed type (image n pdf). how can i … | |
Hello. I have no idea how i can copy the text from a web page to a string variable ? I dont want the HTML code of the page to be stored in the string.. i want the output of the web page to be stored into the string.. If … | |
[code] <?php session_start(); header("Content-type: image/png"); $img_handle = imageCreateFromPNG("bg2.PNG"); $q = rand(1,255); $w = rand(1,255); $e = rand(1,255); $r = rand(1,255); $t = rand(1,255); $y = rand(1,255); $u = rand(1,255); $i = rand(1,255); $color[0] = ImageColorAllocate ($img_handle, $q, 0, 100); $color[1] = ImageColorAllocate ($img_handle, 200, 0, 0); $color[2] = ImageColorAllocate ($img_handle, … | |
Sorry to all if this is in the wrong forum, I'll move it if someone tells me where it should go. I saw another poster discussing some files stored above the root ... well here's what was posted: "I have a script which generates invoices as PDF files and stores … | |
Hi My php version is php4.4.0 and GD is not showing in phpinfo even i installed gd extension. Any Help will be deeply appreciated. Thanks in advance | |
Is it possible in any way to modify the wordpress permalink structures so that you can create a page using a script to find the page? Example: You want to make a page on [url]http://www.yoursite.com/1/2/3/4/post[/url] or whatever... You don't want to use wordpress's the_post function to display the data. Instead, … | |
Its sure that you know about the flash flip books. I have the problem with that. Ok the scenario is about to have the tabs or buttons we can say which are alongside on the right of the book and we can use them to navigate the pages using the … | |
Hi Lets say i have just sent a query to my database and its bought me back a value. I've stored this value in $value1 . How would i get this value into a flash movie ? Any help would be greatly appreciated. | |
Hello everyone, seems i need to start taking classes with web development :( But until then i was wondering if you could help. The last day or so i've been trying to set up a bridge which allows elitegamingladders and vbulletin to merge. Luckily enough, the website i purchased the … |
The End.