39,393 Topics

Member Avatar for
Member Avatar for lyrico

Hi to All, Can anyone show me a sample alarm script using php or javascript? The alarm was base on the record at the database. I mean, for example I have records that have overdue, the user is the one who state the overdue. For example, the user input his …

Member Avatar for diafol
0
764
Member Avatar for Owere

Please can some one help me descrypt the below php code i using it for my project, i encrpyt it through a code given to me by friend.

Member Avatar for pritaeas
0
55
Member Avatar for wikit

Hi there me again, sry for the many questions but only way to learn for me is to try (even if I cant succeed) Please feel free to ask any questions of me if I'm not being clear :) What i'm trying to do is basically a auto-select or I …

Member Avatar for urtrivedi
0
140
Member Avatar for sehrish naimat

i have a dopdown menu which shows the list of tables in the database..now i want to dispaly the result of the selected table from the database in the dropdown menu on submit but i am unable to get how to do it,kindly help.. <? $link= mysql_connect("localhost","root","") or die ("could …

Member Avatar for sehrish naimat
0
189
Member Avatar for 9tontruck

I am setting up a wordpress page on an ubuntu server with Apache/2.4.6 (Ubuntu). Here is what I did: 1. I enabled rewrite mod with : a2enmod rewrite 2. Changed "AllowOverride None" to "AllowOverride All" in apache2.conf :vi /etc/apache2/apache2.conf <Directory /> Options FollowSymLinks AllowOverride **All** Require all denied </Directory> <Directory …

Member Avatar for gabrielcastillo
0
129
Member Avatar for Mohamed_26

Hello Everyone I am using this service 000webhosting.com to host my website. When I tried to connect to the database. I got this error Could not connect to the database a7848759_lumos :SQLSTATE[28000] [1045] Access denied for user 'a7848759_fareedh'@'10.1.1.13' (using password: NO) This is my code below `<?php ` $host = …

Member Avatar for Mohamed_26
0
634
Member Avatar for Inspiron

our problem is " Cannot modify header information - headers already sent "? Is anyone know about this problem that why this happen?

Member Avatar for almostbob
0
122
Member Avatar for jeet88

in my SE site when i use <h2> it becomes <h1> autometically and <h3> tag becomes <h2> can any one tell me what is the reason?

Member Avatar for diafol
0
55
Member Avatar for davy_yg

Hallo, I download opensource file uploader from the internet and there is one problem with it. I cannot exceed the limit of php.ini maximum file size: file-upload.php // we should not exceed php.ini max file size $ini_maxsize = ini_get('upload_max_filesize'); if (!is_numeric($ini_maxsize)) { if (strpos($ini_maxsize, 'M') !== false) $ini_maxsize = intval($ini_maxsize)*1024*1024; …

Member Avatar for cereal
0
248
Member Avatar for rjusman90

<html> <body> <div id="content"> <style> .current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } li { display:inline-block } </style> <?php include"connection.php"; $start=0; $limit=5; $page=''; if(isset($_POST['fullname'])){ $term=$_POST['fullname'];} if(isset($_GET['page'])){ $page=$_GET['page']; $start=($page-1)*$limit; } { if(isset($_POST['Submit'])){ $query=mysql_query ("select * from users where FirstName …

Member Avatar for rjusman90
-1
180
Member Avatar for nadiam

Hi, so im trying to insert data but i get: > Notice: Undefined index: events html part: <form method="post" action="seating.php> <div class="drop"> <label>Event : <label/> <select name="events" id="dd-events" onchange="getguests(this.value)"> <option value="" disabled selected >Event</option> <?php foreach($retrieve as $r): ?> <option value="<?=$r['event_id']?>"><?=$r['event_name']?></option> <?php endforeach ?> </select> </div> <input type="hidden" name="table_name[]" value='+tablename+'><span …

Member Avatar for nadiam
0
3K
Member Avatar for ishlux

Hi all, i am storing the value in session but while retrieving its showing the some other value.....totally i want this stored value in the next page .........can u help me........... This is the code i am storing the value in session [code=php] <? session_start(); include('database.php'); $mailid1 = $_GET['mail_id']; session_register('mailid1'); …

Member Avatar for Hegneous
0
923
Member Avatar for wikit

So I know I can restrict the viewing of a page by session/access using this <?PHP require_once('../../lib/connections/db.php'); include('../../lib/functions/functions.php'); checkLogin('2'); $getuser = getUserRecords($_SESSION['user_id']); ?> is there a way to add to that if the id of the page doesnt match the username in the same database it wont allow you to …

Member Avatar for wikit
0
349
Member Avatar for hriti

i have been trying to upload music file but the file will not upload but all the picture upload are successfully . i need some help . i want to upload music file to a directory in my server but i have been having problems with it. unable to upload …

Member Avatar for cereal
0
267
Member Avatar for nevil120

I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that?

Member Avatar for timetraveller1992
0
168
Member Avatar for sanjay@srvmedia
Member Avatar for aseel_1

s their an error in this code ?? !! it display Image uploded successfully but it isn't !!!!!!! if(isset($_POST['submit'])) { $query="insert into POST (Title,SubTitle,PostDetail,PDay,PMonth,PYear) values('$_POST[_title]','$_POST[_subtitle]','$_POST[_detail]',". date("d").",".date("m").",".date("y").")"; //echo $query; mysql_query($query); $msg="post added sucsessfully"; if($_FILES['_postimage']['tmp_name']!= "") { move_uploaded_file($_FILES['_postimage']['tmp_name'] ,$_SERVER['DOCUMENT_ROOT'].'/Aseelblog/POST_imgs/a.jpg'); $msg.="</br>Image uploded successfully"; //DOCUMENT_ROOT=/var/www/example ///// } else { $msg.="image File too large or …

Member Avatar for veedeoo
0
158
Member Avatar for OsaMasw

hello guys, its been a while since I used htaccess file, but I know how to use it. but the only problem I face is when using in this way I have page for view video watch.php?v=qvLqn2NEsOE&title=Networkplus_tutorials.html first I've create rewrite rule in .htaccess file `RewriteRule ^v-(.*)-(.*).html$ watch.php?v=$1&title=$2` so if …

Member Avatar for OsaMasw
0
318
Member Avatar for chaitu11

move_uploaded_file gives Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this …

Member Avatar for suresh9696
0
1K
Member Avatar for Syed Azadar

hi, how to send email when the server in down in php with cron ? i have 4 server and i want to check every 2 minutes that if any server is down , email send to my gmail account . email send once in 24 hrs not after every …

Member Avatar for timetraveller1992
0
158
Member Avatar for Jack_9
Member Avatar for Daisy_1
Member Avatar for timetraveller1992
0
547
Member Avatar for Prateek_2

For 2-3 years in have been coding in php , then for some time in codeigniter. Now i want to built some business type application like ERP and i am confused which language to choose ASP.NET or java As ASP.NET is growing very rapidly and has large library to do …

Member Avatar for diafol
0
1K
Member Avatar for lalit01

i am doinf online test so i have stode qus and and in mysql . and now i am showing all qusetion at a time . but i want one quse at a time and i want to use next and privius button . help me how can i use …

Member Avatar for diafol
0
106
Member Avatar for RonKevinT.Manuela

Hey guys i need help, I dont know how to remove that irritaing notice....here's the code <fieldset> <legend>Categories</legend> <?php $stmt2 = $db->query('SELECT catID, catTitle FROM blog_cats ORDER BY catTitle'); while($row2 = $stmt2->fetch()){ if(isset($_POST['catID'])){ if(in_array($row2['catID'], $_POST['catID'])){ $checked="checked='checked'";} else{ $checked = null; } } //this is where it says undefined variable echo …

Member Avatar for RonKevinT.Manuela
0
239
Member Avatar for wikit

what I'm on the hunt for is a php script using mysql or mysqli that searches for results. This part is the easy part the hard part is this. I'd like it to search 1 database to to yeild 2 sets of results with 1 search. It would use a …

Member Avatar for wikit
0
311
Member Avatar for Clanstrom

I am tring to make a search script, but I have no idea how and would appreaciate if anyone could give me samples or websites. thanks

Member Avatar for timetraveller1992
0
417
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to call a [pNotify](http://sciactive.com/pnotify) notification using php. So after I submit a form I can use PHP to create the popup.

Member Avatar for DJBirdi
0
2K
Member Avatar for joshl_1995

Hello Community, I have spent almost an hour looking for a solution to combine several pictures side-by-side but can't seem to find anything. I want to be able to get a dozen pictures (.png) and place them to the right of the previous picture then combine them as one (.png) …

Member Avatar for cereal
0
2K
Member Avatar for khurram123

Hi, I have develop a quote form in php and after submission it will e-mail me all the inforamtion correctly but i have problem not getting the information from drop down list and also have browse field so user can upload this file if he wants. PHP Code: <?php if(!$_POST) …

Member Avatar for cereal
0
228

The End.