39,323 Topics

Member Avatar for
Member Avatar for gagan22

Hi everyone, I found that problem is not in session probem is that when i am login in one php page where i already used session but when i am doing login with login name and password . I have seen that when i am printing value login name and …

Member Avatar for nav33n
0
201
Member Avatar for siri_ajay

Hi every body I have a problem.I m uploading images from main domain in admin side.I want to display those images in subdomain.Is it possible to point the images path in subdomain.Presently what i did is i create separate admins for main domain and subdomain and uploading same images from …

Member Avatar for chrishea
0
33
Member Avatar for AutoC

Hi, I'm new to php.I had to include common content to a lot of webpages in my website like menubar etc. and i was told i could load them dynamically from a single file using php.Can someone help me with this?

Member Avatar for kadimi
0
119
Member Avatar for serkan sendur

hi guys, i need to know what should i type to my browser to access apache/tomcat webservers root web folder. there should be some config files that i could see. help please thanks.

Member Avatar for nav33n
0
58
Member Avatar for rEhSi_123

Hello, Basically I am creating a Forum system and I want to add a feature in which the the 'admin' of the forum can delete the topic created inside the forum. I know I would need the following sql statement: [code=php] $sql = "DELETE FROM `forum_topics` WHERE `id`='".$id."'; [/code] Currently …

Member Avatar for rEhSi_123
0
245
Member Avatar for veledrom

Hi, Can i use sleep() for 1 hour? I mean is there any expiry time for it or browser or session so on. Purpose is to send 2000 emails every one hour. Thanks

Member Avatar for digital-ether
0
191
Member Avatar for santhanalakshmi

Hi, Anyone,please help me ............... my first page called `index.php` (which has username and password field to enter to move on to next page) index.php code <?php session_start(); mysql_connect("localhost", "root", "")or die("cannot connect"); mysql_select_db("artedb")or die("cannot select DB"); if (isset($_POST) && ($_POST == "submit")) { if($_POST=="" && $_POST=="") { $msg="Please enter …

Member Avatar for Designer_101
0
361
Member Avatar for sacarias40

Does anybody know where i could get some information or guides on designing my own CMS???

Member Avatar for sacarias40
0
105
Member Avatar for rjrasmussen

Hi there, Although I wouldn't consider myself a noob, I am still learning about the many facets of PHP. I have encountered a need to write an if statement that will generate an error if the specific criteria are not met. Here's the deal... There are four fields that a …

Member Avatar for nav33n
0
77
Member Avatar for sam1

hi, i have this script, which i want to order by name. but when i say order by name asc at the end i get error: here is the bit i am changing [CODE]$genre_id = $_GET['id']; $items = ITEMS_PER_PAGE; if(isset($_GET['page'])) { $offset = $_GET['page']; $offset *= $items; $query = 'select …

Member Avatar for almostbob
0
103
Member Avatar for nmakkena

My system is a stand alone system, I want to connect to MYSQL using PHP, I am giving hostname as localhost, and the needed username and passoword. In the browser i am getting Internal server error 500. Any sort of help much appreciated, Thank you

Member Avatar for nav33n
0
136
Member Avatar for bimaljr

Hi I have a variable like this : [CODE]$fulltext = '<h1>Welcome</h1> <h2>Welcome to this website</h2> <p>Some text here. </p>';[/CODE] Now I want to get only [B]Welcome to this website[/B] in another variable. I want to copy text between [B]<h2>[/B] and [B]</h2>[/B] I don't know how to do this? Please help …

Member Avatar for nav33n
0
140
Member Avatar for Shanti C

Hello.. I want to compare my database date with current system date and i can do some oprations by that.. Wating ... Shanti

Member Avatar for Shanti C
0
154
Member Avatar for madristaa

Hello friends i need help with onclick and onsubmit events At the bottom of my page I have two button 1)save 2)submit. When the user click on save button it will go to save_button.php page When the user click on submit button it will go to submit_button.php but It will …

Member Avatar for samarudge
0
359
Member Avatar for crazynp

Hi,Will anyone plz suggest me on how to build a html file from rss feed and store it in a webserver or is it possible to make and store html file from the contents of mysql database using php and then store the html file in the webserver. Thanks in …

Member Avatar for alan_ot
0
381
Member Avatar for rajeesh_rsn

Hi i need ti delete a file from the server using php. I wrote the code and working fine in my localhost . But when i uploaded in to my ftp server then the following error came. code: [ICODE]if($phototo<>'defaultv.jpg'){ unlink('../share/'.$phototo); } header('Location: '.'manage_auto.php');[/ICODE] -------------------------------------------------------------------- Directory permission is 777 ------------------------------------------- Error: …

Member Avatar for somedude3488
0
124
Member Avatar for mangel.murti

hi all, Donn't know much php........... i want that when user register,his registration date store in db.i want to use server date not his system date in db. thankx in adva...

Member Avatar for Designer_101
0
139
Member Avatar for rajeesh_rsn

Hi i had a database table which stores images in columns. ie [ICODE]idno + image name + name 1 | lal.jpg | raj 2 | lal2.jpg | raj2 3 | lal3.jpg | raj3 .....[/ICODE] Now I need to show this images and these names in a page as 3 columns.... …

Member Avatar for mrcniceguy
0
74
Member Avatar for achiman

SQL QUERY if ($_SERVER ['REQUEST_METHOD'] == 'POST') { if ($_POST['mylist1'] == 'm2') { $sql="SELECT Products, TABLE 1"; $rs=odbc_exec($conn,$sql); } elseif ($_POST['mylist'] == 'm3') { $sql="SELECT Products, Table2"; $rs=odbc_exec($conn,$sql); FORM 1 echo ' <form name="input" action="kkl.php" method="GET"> <div align= "left"> <b>City:</b> <select NAME="list1"> <OPTION VALUE="m1"></option> <OPTION VALUE="m2">London</option> <OPTION VALUE="m3">Paris</option> <OPTION VALUE="m4">Tokoyo</option> …

Member Avatar for nav33n
0
88
Member Avatar for stevehart808

Hi guys, hoping someone can shed some light. I have a script that I've been using for a while to submit a date to Mysql. Its been working fine but now I'm trying it on a site I'm building and when I hit submit NO date is entered into Mysql. …

Member Avatar for stevehart808
0
85
Member Avatar for tominic

So I've created an array based on posted information (a big list of numbers separated by lines which has then been exploded) So this array may contain numbers from 0-100 or whatever So I have one array of numbers Now for each number I want to find out many numbers …

Member Avatar for nav33n
0
83
Member Avatar for dani190

Hey guys, we have a grad survey thing we are making and the questions are currently in a form. Within the form we have the regular drop down boxes for the users retrieved from a mysql database.... Can anyone point me in the right direction so that we can change …

Member Avatar for vinothkumarc
0
87
Member Avatar for sreya.n

Hi all, i am trying to convert my video files to flv format using example01.php of phpvideotoolkit .But they are not getting converted to flv format and it is showing following error Warning: unlink(/home/ffplay/public_html/ffmpeg/examples/tmp/1237195115-49be196b79b43-multipass-0.log) [function.unlink]: No such file or directory in /home/ffplay/public_html/ffmpeg/phpvideotoolkit.php5.php on line 2597 FFMPEG ERROR: Execute error. Output …

0
70
Member Avatar for farhan.foxtrot

Hi, I am a beginner for the zend framework. I have viewed the screencast from the zend site and followed them. The summary of the screencasts are: [code] application controllers IndexController.php models views scripts index index.phtml library Zend public .htaccess index.php [/code] The codes are following: index.php: [code] <?php //error …

Member Avatar for farhan.foxtrot
0
94
Member Avatar for tashy

[code]<?php/** *.Hack Name: Shop Hack * Version: 3.0 Beta2 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at …

Member Avatar for nav33n
0
415
Member Avatar for rEhSi_123

Hello fellow members. I am having a bit of a issue with my forum edit. Here is the code to give you an idea: [code=php] <?php if(!$_SESSION['uid']){ header("Location: index.php"); } $action = $_GET['act2']; $actions = array('reply','topic','admin'); if($action){ $admin = isa($_SESSION['uid']); if($action == 'admin'){ if($admin){ // }else { echo "You are …

Member Avatar for rEhSi_123
0
110
Member Avatar for HB25

Hi I am using the code below to validate user when they login to my website, the first part check if user have typed their username and the second part search the table to check user exist. These two parts work fine but the last part the while condition don’t …

Member Avatar for HB25
0
170
Member Avatar for Codethat

Hi, I want to use a php form textfield to change a value in my databas. Statement i want to send the databas: UPDATE people SET name='VALUE FROM TEXTFILED' WHERE id=1 How do i integrate this statement into a php form textfield?

Member Avatar for nav33n
0
70
Member Avatar for claritydigital

Hi, Im needing alil help with this, googled everywhere, but to no avail. I need to search several(the amount could be endless) words in a string, and replace each word with a link using the searched-for value as the text, and id in the link. To achieve this, I am …

Member Avatar for claritydigital
0
289
Member Avatar for tedobg

Hi guys.Im not exactly sure where I have to put this.But this place looked best as its a php forum and my problem is with phpBB.Again I don't really know If I'm posting this in the right place so correct me if I'm wrong. Anyway my trouble is creating a …

Member Avatar for tedobg
0
138

The End.