Hi
I would like an include in a PHP script to indentify the page into which it has been included....how can I do this?
Tried the $http_referer but that's not giving me the right answer as it tells me the link that loaded the page that calls the include file...
Cheers,
Anders
Hi,
How do I setup a linux system using CRON to automatically open/view a PHP page (or just execute its content!)
Ideally I want a php page to be run every morning at 1am that performs a number of email routines via data from a mysql database.
Is CRON the right area to be looking in for this...
Hi,
I've got a problem with a search I am trying to perform in MySQL:
I have a company table and a contacts table. They are linked by a table called contactassocs which simply assigns an ID to an entry where the companyId and contactID and entered. This is the assocID.
I want to do a 'like'...
Hi,
I am trying to setup my apache installation so that when a php script attempts the following include: /var/www/main/glcorp_php_settings/settings.php
it actually looks at:
C:/Program Files/Apache Group/Apache/htdocs/glcorp_php_settings/settings.php
How can this be done?
I have tried...
Thanks for that, but what I actually want to find is this:
ContactID CategoryID
1 1
2 2
2 2
3 3
4 4
5 5
What I would like to find is a sql statement that would identify that 2 2 has been written twice to...
Hi,
Is it possible to run a simple query that will return entries in a table that are NOT distinct? Like:
Select !distinct from categoryassocs
The table contacts ID1 and ID2 and I need to know where there are duplicates?
Any ideas?
Thanks,
Anderz
Hi,
Can anyone help explain why it is that when I try to send my 4-page Quark file to Acrobat Distiller only the 1st page prints? When I send it to a paper printer all pages print???
It is only in this specific Quark file that I am having the problem. Has anyone else come across this issue...
Hi,
I use this code:
onClick=\"opener.parent.mainFrame.location.reload();window.close();\"
To close a window and refresh the parent window. However, becuuse the parent output is set by it first of all retrieving a $_GET variable from PHP I get a browser error stating that "The...
I have found that if I make the PHP check for a form element variable rather than a simple (!empty($Submit)) type check then it works???!!?
Weird!
Thanks for all your help!
Sorry my coding is terrible I know!
There are two forms the first is ok, it is the second one that is causing problems:
<font size="2" face="Arial, Helvetica, sans-serif">Please enter a search string (min 3 chars)</font></strong>
</p>
<form method="POST">
<input...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.