39,316 Topics

Member Avatar for
Member Avatar for bubbafunk1

Our website used to be hosted in the US, but has since been moved to the UK. The the problem is somewhere in the php code the time has been set to 6 hours behind UK time, which was correct for when the site was hosted in the USA. Now …

Member Avatar for jcacquiescent27
0
225
Member Avatar for praghna

Hi all I am getting the following error with readfile: Warning: readfile() [function.readfile]: URL file-access is disabled in the server configuration in /home/u7/zzjynz5usy/ssss.com/html/news/news_index.php on line 144 can anyone help me in clearing this problem. I am using the readfile() function for generating rss feeds. my code is like this: readfile("http://www.webrss.com/get_mysite.php?mysiteId=10786");

Member Avatar for almostbob
0
108
Member Avatar for veledrom

Hi, I want to run a script automatically in a php page. (e.g. everyday 10am). How can i do it? Except cron job. Thanks

Member Avatar for Josh Connerty
0
121
Member Avatar for BabyEyes

Hi everyone i really need help ASAP .I need to read from the file which saved the result of a survey and make a chart on the answers. i have 5 questions and the values are 1, 2, 3 .how can i make the readin from the file and making …

Member Avatar for Menster
0
169
Member Avatar for gagan22

Hi all, I am making one application. When user will submit a form from frontend and it will go all value in database. After that i am showind this frontend form value in backend. In backend or admin section i am using two button one for submit and other for …

Member Avatar for guru12
0
140
Member Avatar for mangel.murti

hi all i want to display news from other website and display them to my site using php & mysql.how to achive step wise???

Member Avatar for mangel.murti
0
107
Member Avatar for tulipputih

Hello everybody, anyone can help me with this problem? instead of just display the child (in array)..echo $Valuechild[$i]."; "; (see the below code)..I would like to make a link from $Valuechild[$i] to a details of that variable.. [code=php]<TEXTAREA NAME="comments3" style='width:50%' rows='4'> <?php for ($i =0; $i < $ValuenumtableChildren; $i++) { …

Member Avatar for tulipputih
0
4K
Member Avatar for apradhan

Thumbnails are basically a complicated yet effective way to save bandwidth. Although saving thumbnails as seperate images may make things simpler, generating thumbs on the fly help saving space and takes very little processing time in return. Check the file for code and instructions. [code=php] <?php /* Paramters --------- w: …

0
213
Member Avatar for borntowin_786

I have used this code for ajax pagiantion JS file - [code=JavaScript]document.getElementById('divname').innerHTML = content; ajax.callPage("URL"+str, ajaxSearchFilter); tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;[/code] Php file - [code=php]<td colspan="2" align="center"> <?php if($page != 1) { $pageno=$_GET['page']; $pageprev = $pageno-1; if($_GET['city_name'] != "") …

Member Avatar for Airshow
0
58
Member Avatar for Grantmitch1

Hello Daniweb Community, Now im trying to make a website and have just thought that if it manages to succeed it will of course get much larger as will the navigation. As such I thought using the <?php include("navigation.php"); ?> would be a good idea. That way the navigation is …

Member Avatar for darthvegan117
0
154
Member Avatar for BzzBee

I have a web page and have different images on it. but when i press the left button of mouse and try to select image or try to drag its selected. i want to avoid image selection. do u know any code.

0
60
Member Avatar for DaveyMoyes

Afternoon everyone – Onclick of “contact “Pop-Up “Contact-Sms-Centre.php' Can anyone help with this – iv got a php page that returns the following as part of a set of results <a href='Contact-Sms-Centre.php'>Contact</a> $city $country<hr The contact sms centre is width=450,height=350' I also have the popup.php as shown below [code=php]<html> <head> …

Member Avatar for DaveyMoyes
0
381
Member Avatar for diafol

Hi all, didn't know into which other forum this should be posted, none of them seemed obvious, so I've placed it here. Here's my problem: I've got a domain ([url]www.example.com[/url]) registered with a host, let's call them 'smallhost', and I've got a website with my custom admin section there. Recently …

Member Avatar for diafol
0
94
Member Avatar for Magic8Computing

Is it possible to Echo a Web Page link in PHP? If it is can anyone supply the code please. Matthew

Member Avatar for diafol
0
156
Member Avatar for iThaos

Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } …

Member Avatar for iThaos
0
113
Member Avatar for whiteyoh

Hi, Firstly apologies as i shouldnt have set a previous thread as solved. The following script should: 1. get record with id of 1 and display in text box 2. after user changes it, it is written to mysql 3. the screen informs user that this has been achieved [code] …

Member Avatar for Josh Connerty
0
115
Member Avatar for CFROG

Okay, I'm sure this is an easy one for you guys. You guys really know your stuff and it just seems easier sometimes to go straight to the source then to google and experiment for God knows how long. Forgive me for my ignorance of php. that's just the way …

Member Avatar for CFROG
0
103
Member Avatar for ayesha789

Hi to all, I am using XAMPP (PHPMYADMIN) for developing my Final Project of MBA-IT. I can show the reslut in table using SELECT query, But I want to use PHPMYADMIN for reporting purpose. For Example Browse, Search, Insert, Export. Is it possible. Is there any easy PHP Reporting tool …

Member Avatar for ayesha789
0
86
Member Avatar for Barefootsanders

Hi all. I have a current PHP script which checks a number of GET, POST, and REQUEST variables. These are currently in a top-down PHP file and these variables control the flow of the application. I want to convert file to a PHP class, create an object and then access …

Member Avatar for iThaos
0
1K
Member Avatar for dmotah

[icode]$sql_posts = 'select * from posts limit "'.$start.'", "'.$limit.'"';[/icode] im getting error with this line ?what could be the matter.. plz help

Member Avatar for praghna
0
39
Member Avatar for mundetas

i have a form that on post it runs a php page.But when the result is successful it opens a notification page. The problem is that it opens both the php page and the notification all I would like to do is to show the nofication page. php page runs …

Member Avatar for mundetas
0
66
Member Avatar for emma odeke

hi members, am building a social networking site. i want a script (php) that allows users create their own groups and can count number of members online in each group. How do i do this? will be glad for all possible solutions. emma

0
40
Member Avatar for faizt1

hi people i am making a dynamic form in which the results are shown . the number of results varry every time so they have to be dynamic , if the user clicks on one of the results detials button the user should be redirected to a new page with …

Member Avatar for faizt1
0
93
Member Avatar for php_noob

Guys, I need Help in making PHP APACHE and MS SQL SERVER 2000 to run. I search a lot but still can not get the logic behind it. All that I understand is that I need to configure something in the PHP INI. Is it possible in XAMPP? or I …

Member Avatar for php_noob
0
302
Member Avatar for sarithak

Hi frnds... Here i am going to uploading image from my system to ftp.. the below code works correctly in localhost...But, when i use FTP ,it doesnt work..it display error. [CODE] Warning: move_uploaded_file(photos/Endeavour123.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in..... Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'c:\WINDOWS\Temp\php4DA.tmp' to '..' …

Member Avatar for sarithak
0
104
Member Avatar for ayesha789

Hi, I am developing a website , in which I want guest to visit and make their accounts. when they make their account they give their information includeing Email and when they submit the button an email send to them for verification and when they click on a link their …

Member Avatar for ayesha789
0
163
Member Avatar for 064bct512

I am completely new in php for your information.I have a windows xp. I tried installing wamp, after its installation only one of the two services was running. I tried reinstallation and restarted the computer but still it didn't work. Actually apache server was not running. I clicked on start/remove …

Member Avatar for ShawnCplus
0
85
Member Avatar for UncleJoe

I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't …

Member Avatar for UncleJoe
0
206
Member Avatar for dwdata

I have this code: [CODE] $query = "SELECT * FROM Ev_Songs where id_Event='$id_Event' Order by Pos"; $results = mysql_query($query) or die("Error performing query2"); [/CODE] will return a result like this: Song_Title = "Song A", Pos = "2" Song_Title = "Song B", Pos = "4" Song_Title = "Song C", Pos = …

0
48
Member Avatar for sam023

Hello friends.. Help me out..!! this is my Procedure..which working fine in mysql...!! [code] DELIMITER $$ DROP PROCEDURE IF EXISTS `myp`.`insert_1`$$ CREATE PROCEDURE `myp`.`insert_1`(gname varchar(30),userid int,classtype int ) BEGIN if exists (SELECT * FROM 0_groups where groupName=gname AND USER_ID IN(userid,'0')) then SELECT 1 as error; else insert into 0_groups(groupName,classType,user_id)values(gname,classtype,userid) ; …

Member Avatar for blocblue
0
1K

The End.