39,320 Topics

Member Avatar for
Member Avatar for kischi

Hi, I'm trying to implement some php code that I have in one document into another document. However when I do that I get this error: Parse error: syntax error, unexpected $end in /home/www/wearecrunch.dk/gammelsjuf/ajax/class/phUploader.php on line 470 I think it has something to do with where I'm placing the code, …

Member Avatar for kischi
0
445
Member Avatar for mahdiyazdani

hi everybody i got this page form some template that shows items in the page with pagination system but i want to keep this method without any pagination i dont want to spilit number of items i just wanna see all of the items that it read from db in …

Member Avatar for mahdiyazdani
0
356
Member Avatar for hiyatran

I figure out how to write all the entries from my database onto a text file. header("Content-Type: text/plain"); header("Content-Disposition: Attachment; filename=test.txt"); header("Pragma: no-cache"); exit; How do I modify the text file?? Each entries (or row) have 5 elements in it and there are multiple entries in my database. How do …

Member Avatar for LastMitch
0
147
Member Avatar for anilbisht04

How can I remove Canonical/Number tags from Mingle Forum topic Permalinks? I'll be grateful if you can help. Thanks in Advance.

Member Avatar for LastMitch
0
64
Member Avatar for BleepyE

Im making a top 10 leaderboard and ive added an option to hide yourself from the table if you dont want to be shown. This option removes you from the table completely. What I want to happen is instead of being removed from the table, have your username be replaced …

Member Avatar for BleepyE
0
95
Member Avatar for LastMitch

Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= …

Member Avatar for LastMitch
0
261
Member Avatar for Dendei

Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to …

Member Avatar for adam.adamski.96155
0
708
Member Avatar for rotten69

Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so …

Member Avatar for adam.adamski.96155
0
204
Member Avatar for seen

I am trying to creat a profile accourding to user input but getting many errors: here is my code public class Profile { public Profile() { } // method public string getMSG() { return "What do you look like"; } private string _eyecolor; public string eyeColor(); get {return _eyecolor} set …

Member Avatar for Mike Askew
0
125
Member Avatar for shhh

( ! ) SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 3 Call Stack # Time Memory Function Location 1 0.0010 183576 {main}( ) ..\admin.php:0 2 0.0015 185696 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:3 <?php session_start(); if( !session_is_registered("ulogin")) { header("Location:login.php?invalid=2"); } …

Member Avatar for rotten69
0
332
Member Avatar for Boby Smith

I'm trying to add a "checked statement" based upon the users value already entered into the database. I've designed the database side as q1,q2 etc and have a single varchar with an "a","b", or "c". I basically want the code to retrieve the answer and put it into the checkbox …

Member Avatar for Bachu
0
100
Member Avatar for mr-cracker

Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; …

Member Avatar for sftranna
0
834
Member Avatar for TMD

Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to …

Member Avatar for broj1
0
1K
Member Avatar for ak47carbon

i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail

Member Avatar for JMills330s
0
258
Member Avatar for karin.ohara.98

If you post a status update or share a link on facebook there is an option to tag your friends as being 'with you'. It's not the same as tagging them with @ symbols. here is an example: [http://www.facebook.com/karin.ohara....11246132363889](http://www.facebook.com/karin.ohara.98/posts/111246132363889) I'm trying to code this myself in php. It works for …

Member Avatar for LastMitch
0
523
Member Avatar for bavenbabu

I am new to php.I was trying to upload a file but i got an HTML table as result with undefined content type.Here is my code <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="fileuploader.css" rel="stylesheet" type="text/css"> <script src="fileuploader.js" type="text/javascript"></script> <script> function createUploader(){ // alert("hhh"); var uploader = new qq.FileUploader({ …

Member Avatar for peacepostman
0
732
Member Avatar for Simon180

Hello all, I have a small problem with javascript and php what am trying to do is re-code the following script so that the items array uses a php script and a loop to gets information from a database but i dont know how to go about it can anyone …

Member Avatar for broj1
0
280
Member Avatar for kischi

Hi, I have made a small program that enables a user to upload an image and gets it sent back to the users email with a watermark on it. The place where the user uploads the image is in an ajax colorbox and in order for it to send the …

Member Avatar for JJenZz
0
593
Member Avatar for daniel36

can i insert filename into database with uploading file with plupload?please tell me i am new to plupload.

Member Avatar for daniel36
0
986
Member Avatar for daniel36

Can anybody tell me about a opensource uploader that can upload file with post variables.I need it.

Member Avatar for pritaeas
0
177
Member Avatar for cssweb

hello guys how are you i wrote this code but i have an proplem i can not verify if there is no file uploaded when anyone hit submit and i can not specific the allowed extinsion for example "jpg" how can i do this in "foreach", i can do this …

Member Avatar for cssweb
0
138
Member Avatar for sarithak

hi frnds, i am doing a project related to food items.. here i took different categories like restaurants,pubs,foodfestivals,hangouts... and also i took diffrent tables for each category in database.. each table having area,rname...now i need to search what ever user typed in textbox(area,rname) from database. plz give any suggestions asap..

Member Avatar for Bachu
0
119
Member Avatar for innovateuk

I have the exact function with image resize on my site, but I would like to add the watermark to the same function, I tried with many options, but nothing worked. Can someone help me to add watermark function please code as follow function do_resize_image($file, $width = 0, $height = …

Member Avatar for innovateuk
0
290
Member Avatar for subrata_ushasi

Hi all , I want to create a search page like csoft.com . Open the site in a browser and enter "wiseimage" in search option left side of the page Search ,search the site and enter "wiseimage" and see the result. According the result of this site I want to …

Member Avatar for subrata_ushasi
0
341
Member Avatar for cmsc

Hi! I am trying to upload images to teambox.com using curl and php, but I always get the error "Invalid file name", "you can't upload a blank file", and "Invalid Record". Any suggestions on how to fix it? here's my code: $fields = array( 'file' => file_get_contents($_FILES['upload_field_'.$task_id]['tmp_name']) ); $fields_string = …

Member Avatar for pritaeas
0
260
Member Avatar for empror9

Hello, i'm working on a script and I want to make the links such as www.mysite.com/signup. this link for registration www.mysite.com/user/username and this link for user's profile. the links without any extention how can I do that?

Member Avatar for empror9
-1
205
Member Avatar for duneflyingyfz_1

Hi all, ive been researching user management programs on codecanyon.net, and ive got a few programs in mind. the only issue i have is redirecting users of certain groups to a different parts of the website. is it a good idea to have them login and then have them redirect …

Member Avatar for broj1
0
130
Member Avatar for rjony321

Hello,I am starting PHP.So please help me.This code for a simple convertor in php just convert Dollar to local currency.here my **Elseif** not correctly working.here is code: <html> <head> <title>currency Convert</title> </head> <body> <form action="" method="POST"> <table> <tr> <td> <lebel>$</label> <input type="text" name="amount"/> to <select name="form"> <option value="taka">taka</option> <option value="rupe">rupe</option> …

Member Avatar for Bachu
1
215
Member Avatar for Ritesh_4

Hello, am working with the date function in a php file, however the text "at" is not being rendered properly: Initial code: "Online reservation form submitted on " . date ("d/m/y \at\ H:i") . "\n\n" . Rendered value: Online reservation form submitted on 29/09/12 a30 11:52 Where instead of "at" …

Member Avatar for Ritesh_4
0
156
Member Avatar for jeconje

I have a problem on how to be able to tick the checkboxes chosen during registration. If i will update 1 record for example a student, his/her chosen, example his/her interests will be ticked during update.

Member Avatar for Bachu
0
102

The End.