Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
25
Posts with Upvotes
19
Upvoting Members
12
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
1 Endorsement
Ranked #855
Ranked #2K
~26.2K People Reached
Favorite Tags
Member Avatar for Prateek_2

I want to set cron job using codeigniter, in godaddy shared hosting i used the following code to execute `movies` controller's `cool` method. /web/cgi-bin/php5 "$HOME/html/MOVIESDOM.COM/index.php" movies cool Problem is it always execute default controller. Pls tell me how to execute `movies` controller's `cool` method

Member Avatar for Arfan_1
0
6K
Member Avatar for webbiesindia

I have an online exam based php script. Right now the situation is like this. We can create different levels in the php based software. Suppose I create Level 1 and Level 2. In each level I created 3 tests. eg. Test 1.1, 1.2, 1.3 and 2.1, 2.2, 2.3. Right …

Member Avatar for webbiesindia
0
583
Member Avatar for janicemurby

Hi i got a scipt from github i have found another problem i cannot login if anyone has any ideas what it could be would be much appriecated ty all in advance x heres login from function.php function auth($login = '', $passwd = '') { session_start(); global $HTTP_SESSION_VARS; $authdata = …

Member Avatar for pixelsoul
0
189
Member Avatar for mgt

Are there any advantages in using ASP.net or (any other language, for that matter) over PHP?

Member Avatar for almostbob
0
293
Member Avatar for UK-1991

Hello Experts, I hate PHP when these things comes in front of me every time when i create and insert query I stuck up by viewing everything is ok but not working don't know why. please help me out previewuser.php <?php include_once('includes/header.php'); include_once('includes/session.php'); include_once('includes/functions.php'); include_once('includes/connection.php'); if(isset($_POST["submit"])) { echo add_user(); } …

Member Avatar for pritaeas
0
2K
Member Avatar for adishardis

Hi, I have a string that can look a little different from time to time. String Example 1: ((823584X80X998.NAOK == "1")) String Example 2: ((823584X80X1001.NAOK == "1" or 823584X80X1001.NAOK == "2" or 823584X80X1001.NAOK == "3")) And I have this array with matching key (i've shortened the array for readability) ( …

Member Avatar for adishardis
0
2K
Member Avatar for Stefce

Why i get this error `Notice: Trying to get property of non-object in C:\xampp\htdocs\asdf\navigation.php on line 214` i have this code: <?php if(isset($_POST['sendTicket'])) { $ticketID = $_POST['ticketID']; $ticketReceiver = $_POST['ticketReceiver']; $ticket_id = getUserData('kladilnica', 'ticket_id'); $sender = getUserData('users', 'Username'); if(!empty($ticketID) && !empty($ticketReceiver)) { $sql = "INSERT INTO ticket (senderName, receiverName, Date, …

Member Avatar for Stefce
0
546
Member Avatar for phoenix254

HELLO i would like to ask that fetchAll() is good choice to retrieve all user message from database or i should use while loop? I asked this question because i worry about internet traffic..

Member Avatar for jkon
0
5K
Member Avatar for Niloofar24

Hi. With using `file_get_contents()` I can get all html tags and text of a web page. But is there any way to get that web page's **css codes** too?

Member Avatar for diafol
0
602
Member Avatar for edbr

I am helping a friend build as site and at a testing stage. it came to creating a database and i discovered he was a bity lost. i explained howto do it in phpadmin but i then decided to write a page or 2 to install it would be a …

Member Avatar for edbr
0
226
Member Avatar for UK-1991

Hello, I created a query insert query everything is in right order but dont know whyy its not working function submit_report() { global $connection; if(isset($_POST["submit"])) { $id = 215; $name = "myname"; $uname = "myusername"; $date = $_POST['date']; $campaign = $_POST['campaign']; $t_leads = $_POST['t_leads']; $c_leads = $_POST['c_leads']; $open_acc = $_POST['open_acc']; …

Member Avatar for UK-1991
0
283
Member Avatar for Ventech_IT

Hi guys i have simple problem that i can't seem to solve and has been frustrating me for some time i am a newbie when it comes to Codeigniter so be kind hahah, okay so on to my problem i have form validation on a subscription form that seems to …

Member Avatar for lorenzoDAlipio
0
389
Member Avatar for younes.keraressi

Hey, i dont know how this is called but i have ideas and if it possilbe that someone can help Help me about this: i have file index.php and 2 folders called: blue, red. in these 2 folders therse a pages that content the same backgroundcolor as the foloders name. …

Member Avatar for younes.keraressi
0
288
Member Avatar for klemme

Hi all, I am trying to set up Doctrine 2 Orm for a self made MVC framework, but keep hitting the same error when trying to retrieve data: Fatal error: Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'Class "App\models\menu" is not a valid entity or mapped super class.' in C:\wamp\www\framework\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\MappingException.php on line …

Member Avatar for lorenzoDAlipio
0
277
Member Avatar for dosek125

Hello all, I am wondering if someone could comment on the quality of my code. I am working on a project and would like to know whether what I am writing is 'good enough'. The following code is an extract from the app: <?php //ajax_handler.php //Main configuration file which includes …

Member Avatar for lorenzoDAlipio
0
263
Member Avatar for AntonyRayan

Hi , In a form , I have a field for image , in edit page, i can display that image, when I am clicking update, without modifying image it shows error in image. How to save previous image if its not changed. Sample Code: <span><img src="profile/<?=$rows["upload"]; ?>" id="blah" style="height:25%; …

Member Avatar for alisajjad160
0
190
Member Avatar for robertlaar

What is the reason to use PHP frameworks when we have wide range of Content Management Systems available in the market.\

Member Avatar for cilla
0
277
Member Avatar for davy_yg

dashboard.php <table border="1"> <tr> <!-- <tr> --> <?php $i = 1; if($pager->paginate()) { $result = $pager->paginate(); while($data = mysql_fetch_assoc($result)) { ?> <td></td> <td><a href="dashboard.php"><img src="images/<?php echo $data['newfilename']; ?>" height="150px" width="150px"><?php $filename = $data['newfilename']; //echo $filename; $_SESSION['class'] = $data['class']; //$_SESSION['echo $filename']; ?><br><br><?php echo $data['class']; ?></a> <a href="#" onclick="doSomething();">Click Me!</a> <?php if($i …

Member Avatar for Web Dev Rob
-1
197
Member Avatar for AntonyRayan

This is my Index.php:: <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length) { var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8) { //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() …

Member Avatar for AntonyRayan
0
187
Member Avatar for akhila.bhasker

I have code for shuffling images and display.Now i want to values of checked boxes will store on database.please help <?php mysql_connect("localhost","root",""); mysql_select_db("impass"); ?> <html> <body> <form action="" method="post"> <?php $images = array( '<input name="chk1" type="checkbox" value="1" /><img src="images/images (4).jpg" alt="" width="234" height="212" />', '<input name="chk2" type="checkbox" value="2" /><img src="images/images …

Member Avatar for lorenzoDAlipio
0
181
Member Avatar for SimonIoa

Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many embedded urls like youtube, vimeo, dailymotion and so on. And so i have to cache these embedded urls. Anyone knows …

Member Avatar for SimonIoa
0
636
Member Avatar for AntonyRayan

<? abstract class BaseData { protected $connection; public function __construct($connection) { $this->connection = $connection; } abstract public function connected(); abstract public function get(); } class UserData extends BaseData { public function exists() { return is_connected($this->connection); } public function get() { return get_data($this->connection); } } $UserData = new UserData(new Connection()); ?> …

Member Avatar for diafol
0
199
Member Avatar for richardham31

I think php is a hardar part of programming. But wanna step forward in this field. please assist me all of my friends around. Thanks

Member Avatar for diafol
0
141
Member Avatar for Dani

Time once again to ask that question: What could I be doing better? More specifically, I'm looking to answer the following: * Is the UI clear and concise? Is it easy to get around? Is there too much clutter? Are all the features you need/use/want easily accessible? * What features …

Member Avatar for Reverend Jim
1
864
Member Avatar for Lorele

CodeIgniter 3.0 is available in development, and has been taken over by British Columbia Institute of Technology, taken over from Ellis Labs, and has moved to [CodeIgniter.com](http://www.codeigniter.com/). I am new to using PHP and databases, but after trying to figure out the best platform to work on a web project …

Member Avatar for lorenzoDAlipio
0
558
Member Avatar for rgracey

Hi - I am creating a simple PHP Task Request form that will post to an email address. I am fine with everything except one problem. I need this form to generate an ID number which will also display in the Subject line. If someone requests a task and it …

Member Avatar for broj1
0
186
Member Avatar for solomon_13000

I would like to enquire further details about the terms of using php for commercial application development. The scenario is that I have built an application using PHP and intend to host it with a 3rd party hosting company. I am renting the server at the hosting company and the …

Member Avatar for lorenzoDAlipio
0
211
Member Avatar for Naren arora
Member Avatar for hell hansen

Hi Guys, I need to create one app which must run in terminal or cmd, or lets say in background! The app must be able to request a url, and get content of url requested, parse the html and save it as csv. I have it runnig in browser, so …

Member Avatar for lorenzoDAlipio
0
179
Member Avatar for sam_pt

When I add the <!DOCTYPE html> to my page, white spaces appear below the images on the page. Why does this happen and how can I get rid of them? Thanks guys! Here's the code... <!DOCTYPE html> <html> <head> <title>CPU_21397_2014-Holiday-Card_HTML_eCard_Working</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <table width="764" border="1" cellspacing="0" cellpadding="0" …

Member Avatar for OtisGross
0
158