- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 25
- Posts with Upvotes
- 19
- Upvoting Members
- 12
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
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 |
|
Re:
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 … |
|
Re:
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 = … |
|
Re:
Are there any advantages in using ASP.net or (any other language, for that matter) over PHP? |
|
Re:
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(); } … |
|
Re:
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) ( … |
|
Re:
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, … |
|
Re:
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.. |
|
Re:
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? |
|
Re:
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 … |
|
Re:
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']; … |
|
Re:
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 … |
|
Re:
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. … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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%; … |
|
Re:
What is the reason to use PHP frameworks when we have wide range of Content Management Systems available in the market.\ |
|
Re:
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 … |
|
Re:
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() … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
<? 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()); ?> … |
|
Re:
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 |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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" … |