39,392 Topics

Member Avatar for
Member Avatar for sam023

[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use

Member Avatar for sam023
0
84
Member Avatar for newtodaniweb

Greetings! I'm developing my own wiki and installed v1.6.5. I use MySQL v5.0.83. The wiki itself functions fine but after adding the extension Cite.php and adding the call command [ICODE]require_once( "$IP/extensions/Cite/Cite.php");[/ICODE] it gives me the stubborn fatal error message Fatal error: Class 'Cite' not found in $IP/wiki/extensions/Cite/Cite.php on line 54. …

Member Avatar for newtodaniweb
0
190
Member Avatar for muralibobby2015

my requirement is textarea have 3 keywords. no need to count letters per line. but each keyword separated by commas. forexample: abc is one keyword, defgh is another keyword, kalpana is another keyword. so we are entering like this abc,defgh,kalpana into textarea . there is no need to count no.of …

Member Avatar for muralibobby2015
0
701
Member Avatar for Carrots

Hi, I was wondering why the CREATE TABLE query in my code seems to be called automatically, whilst in the example below from w3schools, there is a line which explicitly calls the CREATE TABLE query. Why is that the query in the w3schools example isn't ran twice? My code: [code=php] …

Member Avatar for leviathan185
0
210
Member Avatar for mrjoli021

i am writing a php program to read simplexml file. i get the following error Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/TestSite/sqlconnectstring.xml on line 1 here is the php file [code] include ('sqlconnectstring.xml'); class sqlConnection { var $server; var $user; var $pass; function __construct() { $xml = new SimpleXMLElement($xmlstr); …

Member Avatar for pritaeas
0
70
Member Avatar for kolibrizas

I am new to cron jobs and I never had an opportunity to try them. I know that they can do things in the future, so here come my questions. I am going to put my hosting in byethost.com, but before that I would like to know whether: 1. i …

0
66
Member Avatar for SuntechWebsites

Heres one for ya... Lets say you have a mysql database with multiple entries (clients). Each one has a field for name, username ect. There is also one for say storing a doc file for billing. How can I make it so I can upload a file to just a …

Member Avatar for Atli
0
205
Member Avatar for web3
Member Avatar for edotman

Hi, I have created this page that should play a video from a remote folder and also display other details about the video (eg. Author, Description, Date). When i Use this code it stops the page from loading fully and also shows no video or video name. When i delete …

Member Avatar for diafol
0
78
Member Avatar for AirGear

i have a project that implements the using of database. i chose to use php as the application interface and mysql as the database. at the end of this month, we should submit the softcopy. now, i'm confused with the files of my project. i'm using wamp server, and in …

Member Avatar for AirGear
0
132
Member Avatar for rajeesh_rsn

Hai, I had developed a self forum ( not third party ) for my web site. Working fine... But now I need to filter some words while submitting the form. Ie If I need to filter the word "duck" in forum then if an user type "duck" in any of …

Member Avatar for rajeesh_rsn
0
85
Member Avatar for edotman

Hi guys, I have created a site where users can upload videos(mp4) and images(jpg & gif). The upload script sends the uploaded file to a folder on a remote server, and the filepath is stored in MYSQL. Can any one tell how i go about playing the stored videos or …

Member Avatar for Atli
0
176
Member Avatar for cwarn23

Hi and I am planning to make a bunch of tutorials. I would like to hear what sort of php/ajax tutorials people would like to see. I have heard in the past that some noobs would like a tutorial on making a blog. What else should I write tutorials about …

Member Avatar for cwarn23
4
642
Member Avatar for ayesha789

Dear All, I am developing a Lease Management System and I have Stored LEase agreements in Folder Named LAPO I used ID for search. and in LAPO Folder I have created folders name like 9624 inside 9624, I have stored LA.pdf There are 2300 folders in LAPO and 95% of …

Member Avatar for network18
0
80
Member Avatar for shishtawitch

AOA, i am developing a site, i want that when ever a user signs up on my site, it should get its own folder like youtube........!! i.e [B]youtube.com/user/username[/B] my problem is that i want to get variable wihout adding any .php extension. So how can i get or add when …

Member Avatar for shishtawitch
0
94
Member Avatar for waknash

Hi All, I'm looking for a technique how to save image generated from php to png/jpg/gif, save the image to the server. Later, I want to include the image file to a pdf file generated from a php code. I'm referring the image generated php from [URL="http://www.daniweb.com/forums/thread199886.html"]HERE[/URL]

Member Avatar for venkat0904
0
2K
Member Avatar for Wilmar1980

Hi all, I've searched for this problem in several forums, and as I couldn't find it in any of them, I decided to start this thread. I am a magnet for weird problems. There's this groupware webapplication that I want to test, and for that, I put it on my …

Member Avatar for Wilmar1980
0
91
Member Avatar for mrjoli021

i have a class called sqlConn.php within the same directory as hiuser.php how do i call that class. [code] include('sql_Conn.php'); $sql = new sql_Conn; [/code] does not work i get Warning: include(sql_Conn.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/TestSite/hiUser.php on line 10 Warning: include() [function.include]: …

Member Avatar for venkat0904
0
165
Member Avatar for Sucesso

Hi, everybody. I've been a member for a while, but I'm not a coder, so I haven't made any posts. But I get frustrated not knowing how to do things. So I'm taking the plunge. I'm working through a tutorial on PHP and MySQL (here: [url]http://dev.mysql.com/tech-resources/articles/ddws/[/url]), and things have been …

Member Avatar for venkat0904
0
229
Member Avatar for valonesal

Ok I have a site, the site allows me to create multiple pages dynamically, the pages are smarty pages. The editor for the pages is tiny_mce When I go to create the page all goes well, I design then paste the code in html to the tiny_mce interface. When I …

0
60
Member Avatar for Stefano Mtangoo

I have read several tutorials and 'philosophical' views aon writting PHP codes by either implementing templates or making your own templates. So me says template engines are like learning new language, som e say are good. Good controversy! What do you suggest guys, I mean pros and cons of each …

Member Avatar for Stefano Mtangoo
0
103
Member Avatar for Designer_101

Hello This isnt the right forum for this im sure however I cant find the correct one as its a vague question. Im sure someone in here knows the anser to it though. I've designed a countdown system in flash/php that rotates a wheel and stops on a certain object …

Member Avatar for leviathan185
0
84
Member Avatar for escocia1

Using .htaccess i have a password protected folder online containing 7 files with one single user/pass combination. User is not allowed to see that 7 files are available. User enters 1 of 7 "Access Keys" in a simple HTML Form text input which is then processed (script?) User is then …

0
39
Member Avatar for whitestream6

I'm trying to set dynamic titles on my pages with a switch statement, but can't get it to work. Tried ifelse using code gleaned from Google but it didn't work. I'm trying to get it so that all my pages' titles are able to be dynamically used from a value …

Member Avatar for rokape
0
225
Member Avatar for jppr03

Hi! I need a button in php code, that when i click on that button it export's my SELECT to a text file or excell file.. i searched.. there's a lot of program's that make that.. but i don't want that.. i want to make on my webpage a simple …

Member Avatar for jppr03
0
2K
Member Avatar for jimmy1234

How would I go about changing this to grab the sku without making it static as I have it below: [CODE=php]<?php if($this->getProduct()->getSku()=='SKU###'){ $titles=array('Color 1:','Home Color 2:'); $url = Mage::getBaseUrl(); $skinUrl = $this->getSkinUrl('images/catalog/product/placeholder/'); require_once 'app/code/local/Temgra/ColorCustomOptions/colorCustomOptions.php'; colorCustomOptions1($this->getProduct(), $titles, $url, $skinUrl); } ?>[/CODE] What this does is grabs the sku of a product …

0
48
Member Avatar for tier1

It's possible to make more complex URL's using Zend Rest Route? I'm trying to make following route: /articles/filter/:query. Simple controller: [code] class ArticlesController extends Zend_Rest_Controller { public function init() { $this->getHelper('ViewRenderer')->setNoRender(true); } public function indexAction() {} public function getAction() {} public function putAction() {} public function postAction() {} public function …

0
47
Member Avatar for mrjoli021

I have a form that get processed by a php page and depending on what the user decides it will get summited to another php form. But the [code = php]<input type="text" name="fname" value="<?php 'echo $tesing';?>"[/code] part does not work inside php. if i try the code outside it works, …

Member Avatar for mrjoli021
0
130
Member Avatar for thefuzz

Hi Everyone, i am really new at this and slowly getting started, to fast track my website i purchased a web template in flash with a php email script. I have tried searching the web for a solution but i am not up o scratch with any code that makes …

Member Avatar for violarisgeorge
0
136
Member Avatar for lewashby

I am currently reading two books, one on PHP and one on Python. Not that I'M good at ether. I'M about half way through the book on PHP or less and almost done with the one on Python. Though I haven't actually read anything web related in this particular Python …

Member Avatar for pythopian
0
634

The End.