39,326 Topics

Member Avatar for
Member Avatar for beginnerpals

This is the php code i have in my logout.php file: <?php session_start(); session_unset(); session_destroy(); header('Location: index.php'); exit(); ?> While starting the session, I set the variables username and password. My logout file isn't working properly. When i click logout, it leads me to my home page (index.php), but on …

Member Avatar for imBaCodes
1
12K
Member Avatar for lydia21

i have a form which will display the details in a table,when edit button is clicked all the content in the table should come in a form(ie inside the textboxes)..so that the user can edit and save the content again in the database. [B][U]1st page[/U][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or …

Member Avatar for piyush16791
0
147
Member Avatar for skkishor

We are using Joomla1.5.20 Joomla Multisite Verion 1.2.8 - Free Version Our URl Master Site URL is [url]http://usentrepreneurtoday.com/[/url] for which we have different slave sites like [url]http://newyork.usentrepreneurtoday.com/[/url] [url]http://pennsylvania.usentrepreneurtoday.com/[/url] We are facing a strange issue. The issue is that when we open our master site, the site is opening properly, but …

Member Avatar for LastMitch
0
285
Member Avatar for iqlas

hey guys.. i'm working on e learning project.. i need to integrate Voice Chat in that.. so plz if anyone knows, plz help... Thanx in Advance...

Member Avatar for masterjiraya
0
435
Member Avatar for joeyliew7

i have two forms on 1 page. but the 2nd form keep going to 1st form action.. 2nd form suppose to go to approve.php..how do i solve this? when i click Approve it suppose to go to approve.php and execute the query there..but now when i click it give errors: …

Member Avatar for diafol
0
289
Member Avatar for hindu times

Hi there, Following on from an earlier post, the below code is part of Keyring Social Importer, and it imports my Tweets from Twitter and posts them as individual blog posts on my Wordpress.org website. I was wondering, if any of you know php and Wordpress, how I could make …

Member Avatar for LastMitch
0
284
Member Avatar for joshl_1995

Hello Community, I was just wondering why my password matching section ( } else if (!$password === $cPassword) { ) in the else if isn't working. Whats happening is it is saying the passwords do match but they don't. I have tried many ways to fix it there is one …

Member Avatar for joshl_1995
0
155
Member Avatar for vishalonne

Hello I have databse in MySQL with 21 fields which are listed below Field Name Data Type NULL status text No roll_no text No branch_id int(5) No student_name text No father_name text No phone1 text No phone2 text No email text No dob date No city text No course_id varchar(5) …

Member Avatar for KamranArshad
0
461
Member Avatar for hanan-kh
Member Avatar for skliz

I am trying to write a script that would collect current time and check if the time falls with a particular time range. Let say the current time is 12:00am and I want to check if the current time falls within the range of 1 pm to 5 pm. I …

Member Avatar for CodeAngry
0
651
Member Avatar for rolanduk

Hy Guys As i previously mentioned i run a PPD site, but i notice i have a huge error. Every time when the members of my site ready to download a file they get the following message (please see picture) [Picture](http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png) I attach here the defailt.php code so you can …

Member Avatar for CodeAngry
0
327
Member Avatar for fheppell

I'm writing a php script that takes a URL and allows the user to highlight parts of the page. When I type in a URL all of the images are broken. How can I write a script to change relative links and assets to absoulute. Another thing this would need …

Member Avatar for CodeAngry
0
408
Member Avatar for davy_yg

Hello, I wonder how to adjust the php.ini like: https://wiki.vtiger.com/index.php/System_Requirements#PHP_Configuration I copy paste the whole list to the php.ini and for config.inc.php I cannot find any similar variable.

Member Avatar for TonyG_cyprus
0
117
Member Avatar for Rizi004

Hi everyone I have developed Drupal website and custom registration form. The registration form is multi-step and in popup window so i m using lightbox2 module of drupal and working perfectly fine and the form code is written in the lightbox2 file that comes with module and place in theme …

Member Avatar for Rizi004
0
234
Member Avatar for logicaweb

I have a problem with jquery loading because prototype. This is script that I use: <script type="text/javascript" src="prototype.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> ... .. .. <script language="javascript"> function show(obj,msg){ messageBox.style.top=obj.offsetTop messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 contents.innerHTML=msg+"<p>"+obj.href messageBox.style.display="block" } </script> Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I …

Member Avatar for LastMitch
0
237
Member Avatar for accra

Hi all, am trying to add an html form to a lightbox with no success. Here is my code: <a href="service_form.php" rel="lightbox"> <input name='input' type='' class='btn-primary' value='Add a Service Tag' rel='lightbox'> </a> Note: I have been able to add an image with the same code and it works fine,so the …

Member Avatar for LastMitch
0
608
Member Avatar for narekm

Hi.I didnt find wordpress section so I am posting my question here . i am creating a new "Bookings" custom post type in wordpress . And I already have a table in Mysql database set up where I am filling date from ,date to and the room name . My …

Member Avatar for LastMitch
0
172
Member Avatar for egoche

Looking for assistance in, as the title reads, accessing an Access database via PHP when the database is open. (Please bear with me as my knowledge of PHP, when used in conjunction with a database, is extremely sketchy at best.) Using the code below, I can pull up a directory …

Member Avatar for LastMitch
0
3K
Member Avatar for sigvewinter

Hi guys! I have a website where users can follow each other. I want to create a stream/feed where posts and updates releated to friends will show. So in "theory" something like this: if friend1 and friend2 == true - > show posts from entries database else - > don't …

Member Avatar for diafol
0
110
Member Avatar for gogs85

I need websites for ads people put some free ads in my website. Example: sell car or mobile. Do you know some php script or opensourse?

Member Avatar for TonyG_cyprus
0
60
Member Avatar for Dani

We use CodeIgniter custom session data to handle our login (among many other things). Our settings are as follows: $config['sess_cookie_name'] = 'danisession'; $config['sess_expiration'] = 0; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = TRUE; $config['sess_use_database'] = FALSE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = FALSE; $config['sess_time_to_update'] = 300; ... $config['csrf_protection'] = true; …

Member Avatar for Mark_k
0
2K
Member Avatar for coolrosy

it is possible to write more than one ajax request on a single page?can any one help me?thanks in advance

Member Avatar for diafol
0
122
Member Avatar for ajay09payal
Member Avatar for IIM
0
178
Member Avatar for gogs85

I have error i have web site where want to users register this is code from index.php : <?php include ('include/header.php'); if (isset($_GET['id'])){ switch ($_GET['id']) { case "wallpaper": include ("include/wallpaper.php"); break; case "ringtones": include ("include/ringtones.php"); break; case "themes": include ("include/themes.php"); break; case "apps": include ("include/apps.php"); break; case "aboutus": include ("include/aboutus.php"); …

Member Avatar for gogs85
0
695
Member Avatar for fheppell

I need to connect to the wikipedia search API. Here is an example response <api> <query-continue> <search sroffset="10"/> </query-continue> <query> <searchinfo totalhits="169717"/> <search> <p ns="0" title="Intelligence quotient" timestamp="2013-04-04T05:15:12Z"/> <p ns="0" title="Test" timestamp="2013-02-23T01:15:05Z"/> <p ns="0" title="TeST Gliders" timestamp="2012-09-22T11:05:05Z"/> <p ns="0" title=".test" timestamp="2013-02-25T14:48:22Z"/> <p ns="0" title="Test cricket" timestamp="2013-04-02T18:49:54Z"/> <p ns="0" title="Test (assessment)" …

Member Avatar for fheppell
0
187
Member Avatar for rolanduk

Hy All I run a PPD website, so the members have to complete a survey before they can download a file. But after the survey they got this error, please see the pics. http://filemonster.org/images/97f448bf6398174f45e04ffc8ac964bb.png I didnt edit anything and check the file structure and didnt see any bad coding. I …

Member Avatar for rolanduk
0
441
Member Avatar for B0716L

Does anybody know any good websites to learn PHP? I design websites in html, css, and javascript... but I want to be able to do more by working with PHP.I have checked out Codeyear, and w3schools. So if anybody could just help me out that would be great =)

Member Avatar for sandeepek
0
104
Member Avatar for EmilyJohnson

Hello Everyone, Recently I have made a e-commerce site by using woocommerce (Wordpress plugin). I want to know how to integrate google checkout in the project. I have successfully integrated google checkout for single product manually. But I want to enable google checkout for whole site product. Any type of …

Member Avatar for EmilyJohnson
0
909
Member Avatar for sagisgirl

hi everyone, i've got quite similar with displaying user's information. i've 2 form(K8 Form and K9 Form). To displaying user's information in K8 Form, i used the method with the way you guys taught me. and then after the user fill up the K8 Form, the K8 Form information will …

Member Avatar for masterjiraya
0
360
Member Avatar for eltonpiko

hi all i have a script on an account on my server. i need to get access to phpmyadmin to retrive its database. the problem is that the domain for that account has expired. the only way for me to get access, is to log in with the root account …

Member Avatar for eltonpiko
0
169

The End.