Hello List for the first time,
I am very new to php but impressed from what i've seen so far. I managed to
configure php w/ mysql and db2 do some selects, inserts ...
What I am inerested in is what are all those mod_php* and php_* on the
distribution's CDs e.g. if they are installed how do i ge
Hi all,
I am using Codeigniter framework, tho' I believe my question is more PHP
related in general.
Problem I am having is following.
Codeigniter (CI) uses general class CI_Controller for all functions.
I have extended this controller with: abstract class CORE_Controller
extends CI_Controll
Hi,
Yes indeed you are correct.
Found out that framework was loading libraries from array in specific
order, whereby one overrules the next one.
Anyway, problem solved by rearranging the order of the array :)
Thanks anyway :)
On 03/30/2011 04:13 PM, Ashley Sheridan wrote:
"Aleks
Hahaha oh wow.
-Xander
Stut wrote:
Sascha Braun - CEO @ Braun Networks wrote:
hi stut,
thank you for your advices.
Ok, just so it's perfectly clear to you... I'm taking the piss. Still,
since you provided apparently serious answers I'm going to continue to
enjoy myself...
- Screent
You can not control this, but you might be able to control the page
where the user is going back through the third page :)
like this:
page 1: submit to page 2
page 2: header('Location: /page 3');
page 3: the final page
if the user clicks back he is going to end up on page 2 which has
location
I would also suggest to limit yourself to things you actually need not
to select the whole table.
Aleksandar
Jim Lucas wrote:
Colin Guthrie wrote:
Martin Marques wrote:
SELECT * FROM company WHERE id NOT IN (SELECT companyID FROM contacts);
Not ideal as has been mentioned else where in
It seems you missed my point :) if you would need all the data then
select them all, but if you need only partial data from the table then
you could limit yourself to that specific columns. I doubt everybody
need everything all the time. True?
Aleksandar
Chris wrote:
Aleksandar Vojnovic
Pick one:
http://si2.php.net/manual/en/function.htmlentities.php
http://si2.php.net/manual/en/function.addslashes.php
http://si.php.net/mysql_escape_string
Aleksandar
Yamil Ortega wrote:
Hi list, good day.
I have a simple script that inserts text on a mysql table, that has a field
named
I think the $lock_result is just a resource #id you haven't fetched any data
yet. True?
Aleksander
Dan Shirah wrote:
Ah, what a lovely case of the Friday morning brain farts!
I have a query that selects some data from a table based on the current ID
selected.
If the query does not return any
try putting this on the top of your PHP page
tbt wrote:
yes it is
pscott wrote:
On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:
I added the following lines to the top of my script but still no error
messages show up on the browser.
When a php error occurs the entire page is still sho
Maybe display errors is set on off?
Aleksander
tbt wrote:
yes it is
pscott wrote:
On Fri, 2007-10-05 at 00:32 -0700, tbt wrote:
I added the following lines to the top of my script but still no error
messages show up on the browser.
When a php error occurs the entire page is stil
$request_id = $_GET['id']; <--- I suppose this would be an int. True? If
so then add:
Aleksandar
marek wrote:
Even better:
".mssql_get_last_message());
}
?>
Dan Shirah wrote:
Okay, gotcha!
I changed it to this and it works:
$lock_result = mssql_query
*Example 2*
function appendMeBaby(aVar, bVar){
self.location.href = 'img.php?s=' + aVar + '&someOtherVar=' + bVar;
}
Click here
Hope this helps
Aleksandar
Daniel Brown wrote:
On 10/5/07, tedd <[EMAIL PROTECTED]> wrote:
At 11:18 PM -0400 10/4/07, Nathan Nobbe w
Because its painful and fun at the same time :)
Aleksandar
Quoting Nate Tallman <[EMAIL PROTECTED]>:
Ditto on Eval()
PHP is already a templating system. Why go the long way around?
On Feb 12, 2008 10:13 AM, Greg Donald <[EMAIL PROTECTED]> wrote:
On 2/12/08, Xavier de Lap
Could you explain this a little better - "...into using a database[1]
for storing the
pages and using browser sniffing to find out what language preference
they currently had
selected to display in that language"?
Aleksandar
Quoting Jason Pruim <[EMAIL PROTECTED]>:
On Fe
Upload error 2 occurs when the file size exceeds the maximum allowed
upload size.
Aleksander
David Robley wrote:
Pastor Steve wrote:
Greetings,
I am getting an error when I am trying to upload a PDF file through a
script.
When I do a print_r($_FILES) I get the following:
Array
(
[
If you are running Apache you could use a rewrite rule for such a case.
Example below
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(my|folder|examples) /https/://%{HTTP_HOST}%{REQUEST_URI}
[R=301,L]
Aleksander
Per Jessen wrote:
tedd wrote:
Sometimes I feel like a child h
I would rather use md5_file() for file uniqueness.
Aleksander
Olav Mřrkrid wrote:
hello
is crc32() an acceptable way of managing whether a JPEG file exists
(in a database or similar collection)?
i mean doing a crc32() on the binary data of the JPEG file, and then
check the database if there i
Hi,
Yes, /tmp is on another disk then the final directory. I shall move it
to the same disk (tmp_upload_dir) right now.
Question: can I define tmp_upload_dir to be otherwise just for one host
in apache conf, like:
php_ini upload_tmp_dir /some/dir
I am not sure that this works for all PHP i
things in database, if you have that
option.
Regards,
Aleksandar
Benjamin Adams wrote:
I have created my own ini file. I can read the values into an array
fine. but What I want to do is change a value in the ini file. Example
file.ini
dog = 3
cat = 4
fish = 7
altered file.ini
dog = 3
cat = 5
php.ini value.
Chris wrote:
Aleksandar Skodric wrote:
Hi,
Yes, /tmp is on another disk then the final directory. I shall move
it to the same disk (tmp_upload_dir) right now.
Question: can I define tmp_upload_dir to be otherwise just for one
host in apache conf, like:
php_ini
21 matches
Mail list logo