zxing has a java commandline app that you can run.. simple to use great results.
http://code.google.com/p/zxing/
Shaun
www.brewerydb.com
On Oct 10, 2011, at 2:47 PM, Matthew Pounsett wrote:
>
> On 2011-10-10, at 14:42, Floyd Resler wrote:
>
>> I've been trying to find a s
I am running a server with cPanel on and want to have php run as a cgi with
Suexec enabled
I cannot seem to rectify an issue, when I set the handler to cgi, my rewrite
rules on one of my sites stop working
Sample url: http://examplesite.com/ad/123-abcde/
The rewrite rule for this is below;
Re
You could try using markdown too.
Sent from my iPhone
On Aug 10, 2011, at 3:57 PM, Ashley Sheridan wrote:
>
>
> Chris Stinemetz wrote:
>
>> How do I preserve text formatting when text is inserted into a database
>> table?
>>
>> For example: I am using a textarea to allow users to leave co
I am working on code that implements a delegate design pattern, this makes
use of the call_user_func_array function.
I am having trouble with this particular line in PHP 5.3
return call_user_func_array(array($delegate, $methodName), $parameters);
$delegate is an object, and not simply the class n
Hi,
I need to delete a file with any file extension where i know the name of the
file, is it possible to use regular expressions with the unlink function?
Thanks
_
http://clk.atdmt.com/UKM
Hi,
We are getting errors when trying to vaildate our HTML due to the [ character
when using Post Arrays:
Line 173, Column 65:
character "[" is not allowed in the value of attribute "id"
…e="filters[calling_url]" id="filters[calling_url]" value="categories-bulk-ear
Does anyone know of
> Date: Thu, 28 Aug 2008 16:24:58 -0500> From: [EMAIL PROTECTED]> To: [EMAIL
> PROTECTED]; php-general@lists.php.net> Subject: RE: [PHP] Problems sending
> $_POST vairable to an ASP page> > [snip]> Unfortunately I don't have curl
> installed on my server.> [/snip]> > Unless you can open a sock
> Date: Thu, 28 Aug 2008 16:21:19 -0500> From: [EMAIL PROTECTED]> To: [EMAIL
> PROTECTED]; php-general@lists.php.net> Subject: RE: [PHP] Problems sending
> $_POST vairable to an ASP page> > [snip]> I need to send post variables to an
> ASP page. I have the following code> which isn't produci
Hi guys,
I need to send post variables to an ASP page. I have the following code which
isn't producing any errors but isn't working either:
foreach($_POST['newsletter-group'] as $key => $value){ $_POST['addressbookid']
= $value; $out = "POST /signup.ashx"; $fp = fsockopen("dmtrk.net", 80, $err
Date: Wed, 27 Aug 2008 15:07:53 -0600From: [EMAIL PROTECTED]: [EMAIL
PROTECTED]: Re: [PHP] Re: Sending a POST variable to an ASP page
well that would constitute a particular reason :)
On Wed, Aug 27, 2008 at 2:55 PM, shaun thornburgh <[EMAIL PROTECTED]> wrote:
> Date: Wed, 27 Aug 2
> To: php-general@lists.php.net> Date: Wed, 27 Aug 2008 14:07:31 -0500> From:
> [EMAIL PROTECTED]> Subject: [PHP] Re: Sending a POST variable to an ASP page>
> > shaun thornburgh wrote:> > Hi,> > > > I need to send a post variable to an
>
> Date: Wed, 27 Aug 2008 14:13:23 -0400> To: php-general@lists.php.net> From:
> [EMAIL PROTECTED]> Subject: Re: [PHP] Sending a POST variable to an ASP page>
> > At 5:54 PM + 8/27/08, shaun thornburgh wrote:> >Hi,> >> >I need to send
>
Hi,
I need to send a post variable to an ASP page, can I do this within my PHP
script?
I don't need to view the page, or get any acknowledgment back, just send the
single POST variable...
Thanks for your advice
_
Get Hotmail on
=> $subvalue) {
$_SESSION['ses-app-form']->$key[$subkey] = $subvalue;
//echo "value: ".$key."";
}
}
else {
$_SESSION['ses-app-form']->$key = $value;
//echo "value: ".$key." = ".$value."";
Hi,
I have PHP installed as a CGI module on my server. I want to stop PHPSESSID
from appearing in the URL when a users cookies are turned for just one
account. My hosting company says that this is impossible - they would have
to change php.ini and that would affect every account on the server.
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Mon, April 17, 2006 5:45 am, Shaun wrote:
>> I have created a CMS where all sites on our server are administrated
>> from
>> one central site, and HTML content is st
r location.
>
> You should also be making sure that your server does not allow others to
> host primary images so that nobody could phish your site. Paypal and
> chase are really lamely set up which is making phishing easier for
> people who use them.
>
> My $.02
>
> Wo
login, 1 password, very user friendly.
>
> And only 1 place to have to worry about changing files.
>
> HTH,
>
> Wolf
>
>
> Shaun wrote:
>> I see your point, the only problem is that the user will have already
>> logged
>> once into the CMS, logging in aga
y
>
> berber
>
> Visit the Weber Sites Today,
> To see where PHP might take you tomorrow.
> PHP code examples : http://www.weberdev.com
> PHP & MySQL Forums : http://www.weberforums.com
>
>
>
> -Original Message-
> From: Shaun [mailto:[EMAIL PROTECTED]
> And privileges. There are endless ways to do this
> And you need to choose what is best for your site.
>
> Have a look at some relevant code examples:
> http://www.weberdev.com/AdvancedSearch.php?searchtype=title&search=auth
>
> berber
>
> -Original Message-
Hi,
I have created a CMS where all sites on our server are administrated from
one central site, and HTML content is stored in the CMS database.
I want users to all control their sites database functions from the CMS
site, but I want to keep the database and database admin scripts in the
indivi
Hi,
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
>
> maybe?
>
> Dan
>
> ---
> http://chrome.me.uk
>
>
> -Original Message-
> From: Shaun [mailto:[EMAIL PROTECTED]
> Sent: 15 April 2006 20:05
> To: php-general@lists.php.net
> Subject: [PHP] Include Problem
>
> Hi,
>
> I am havi
"Mark Charette" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Shaun wrote:
>> Warning: main(/cms/templates/footer.php): failed to open stream: No such
>> file or directory in /home/m/y/mysite/public_html/cms/news/index.php on
>> line
>
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include("/cms/templates/footer.php");
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or dire
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include("/cms/templates/footer.php");
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or di
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote:
>> If you can't avoid them, keep it simple - just store the ID in one
>> place,
>> like a session cookie. Doing so will make sure that if the session ID
>> gets
>> cha
Hi,
I have a site that uses frames. The frameset loads another site (both on the
same server) in the lower frame window. Every time the page changes in the
lower frame the session id changes, how can I stop this happening?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/
Hi,
I have a script on my site for processing values sent from a contact form
and emailing them to the webmaster. The script has been abused by spammers
and my hosting company has recommended that I change the script to only
accept information posted from my own URL. Could someone tell me how t
Hi,
I have a form on my site with many file fields for users to upload files. I
am trying to verify that for each file uploaded it corresponds with the name
of the file field i.e.
File_1.CSV:
File_2.CSV:
However if I loop through the $_FILES array like this:
foreach( $_FILES
Hi,
I have a server with all my clients websites on. However I have some clients
who have their own servers. I want to be able to have a form on my site that
allows users to log into their webmail, however if the client has their own
server I need to forward the $_POST values to a login script
Hi,
Is it possible to return the result of eval function to a string rather than
outputting directly to the browser?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Gustavo Narea" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello, Ashley.
>
> Ashley M. Kirchner wrote:
>>Does anyone know of a good GD tutorial for creating graphs?
>
> I like this one: http://www.nyphp.org/content/presentations/GDintro/
>
> Regards.
>
> --
> Gustavo Nare
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sun, Dec 04, 2005 at 07:00:00PM -, Shaun wrote:
>>
>> "comex" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > form'.$count.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> [snip]
> I have made an example of this now. If you click on this link:
>
> http://www.assertia.com/iframe.html
>
> and then click on 'Click Here'. I am trying to display the form results in
> the parent window, but I am
t;Terence" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
>
> Shaun wrote:
>> Hi,
>>
>> How can I get the form values submitted from an iframe where the target
>> is the parent window?
>
> Use Javascript. Check out irt.org -> Ja
Hi,
How can I get the form values submitted from an iframe where the target is
the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a frameset with a left column and a main column. I have a login
script with a form in the left column. When I log in I get a menu in the
left column which targets to the main column. My problem is that when I
click on links in the left column nothing appears in the main frame, howeve
Hi,
Given a start day and month and end day and month (i.e. 01-01 to 31-03) how
can one check if another set intersects these dates?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am trying to create my own CMS. To being with I want to let users edit
anything within a tag.
I want to have a menu to the left and display the webpage in the rest of the
page, and for each set of tags I want the user to be able to click on
the link to edit that paragraph.
My problem
is correct by comparing the file name to
the value requried by the form field name. Is there a way around this?
Thanks for your help.
Shaun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am trying to create a function that will convert metres to feet and vice
versa. After searching Google I have found that 1 meters = 3.2808399 feet.
However if someone enters 10.5 to mean 10 feet and 5 inches this is not the
same as 10 feet and half a foot as there are 12 inches in a foot!
Hi,
I have some checkboxes on my page which correspond with boolean fields in my
database - actually they are TINYINT's in which I store a 0 or 1 in for
false and true values respectively.
Is it possible to loop through all $_POST values to see if it is a checkbox?
If so then for that element
Hi,
I am trying to create a regular expression for a width of a room, the value
can be a whole integer (up to 999) with up to 2 decimal places -when it is
stored in the database mysql will pad the value accordingly.
/^[0-9]{1,3}.?[0-9]{0,2}?$/
The only problem I have found with above is that I
Hi all,
Thanks for your replies, rather than check each vaule by name I am trying to
produce a more dynamic solution:
foreach ($_POST as $key => $value) {
if ($value == '') {
$_POST[$key] == 'NULL';
}
}
I was expecting $_POST[$key] to be the same as $key, however this isnt the
case:
$
le)) { $variable = 'NULL'; }
>
> Ben
>
> On Tue, 18 Oct 2005 12:15:41 -0400, "Shaun" <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> Up to this point in time I used to construct my insert statements like
>> this
>>
>> $
Hi,
Up to this point in time I used to construct my insert statements like this
$qid = mysql_query('INSERT INTO MYTABLE (
column1,
column2,
) VALUES (
"'.$value1.'",
Hi,
The following article describes cross tabulation within MySQL and ends with
a Perl application that automates the process, does anyone know of a PHP
version?
http://dev.mysql.com/tech-resources/articles/wizard/index.html
Thanks for your advice.
--
PHP General Mailing List (http://www.ph
Hi,
I am trying to implement a regular expression so that I have a number
between 0.00 and 1.00. the following works except I can go up to 1.99
$regexp = "/^[0-1]{1}.[0-9]{2}/";
Can anyone help here please?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hi,
Is it possible to encrypt files that are being uploaded via the
move_uploaded_file() method?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a resultset from a query and need to remove some rows after doing
some php processing then insert into another table i.e.
/** Get data**/
$qid = mysql_query('SELECT ...);
/** Clean data **/
while( $r = mysql_fetch_object( $qid ) ) {
}
How can i generate a new resultset / remove
Hi,
Is it possible to get the number of saturdays and sundays for a given month
/ year?
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
The following code is attempting to display a list of work types for all the
users in my database. However it only loops through the inner loop once and
I can't work out why, can anyone help here please?
Thanks for your help
Work_Type; ?>
--
PHP General Mailing List (http
$_SERVER['HTTP_HOST']
"Mbneto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I need to access a website (written in php) using two different
domains (www.foo.com and www.bar.com). I must see the same content.
Since the site uses session and cookie variables I was wondering if
Hi,
Is it possible to create a csv file from a query and force the user to
download it by outputting it to the browser, I dont want it saved on the
server!
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for double posting, these took an hour to appear in my newsreader and
I thought there was a problem with the first one I sent
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have a file called application.php and in this
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG->wwwroot = http://www.mydomain.com;
$CFG->dirroot = "/usr/home/myaccount/public_html";
$CFG->admindir = "$CFG->wwwroot/admin";
$CFG->claimsdi
Hi,
I have a file called application.php and in this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG->wwwroot = http://www.mydomain.com;
$CFG->dirroot = "/usr/home/myaccount/public_html";
$CFG->admindir = "$CFG->wwwroot/admin";
$CFG->claim
Hi,
If I have a function name held in a $_GET variable for example
...&func=print_user_list how can I call the function dynamically? ie.
$_GET['func']()
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Chris,
I have turned off friendly messages, but I get the same message...
"Chris W. Parker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Shaun <mailto:[EMAIL PROTECTED]>
on Friday, April 01, 2005 11:20 AM said:
> This was working fine until i ad
Hi,
I have a site that allows users to download xml files. I have the following
php script which prints the results of the query to the browser. As the
header is chaged to XML it forces the browser to ask the user if they want
to download the file rather than outputting the results straight to
find anything free. They are
>> working very good. I don't know where i have buyed them but i think there
>> is only one company which delivers this software.
>>
>> Regards
>> Johannes
>>
>> On Monday 28 March 2005 22:08, Shaun wrote:
>&g
Hi,
Does anyone know if its possible to create an MDB file from a Mysql database
using a PHP script, I have only managed to find Access to Mysql conversion
programs so far...
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Hi,
I have a script that inserts data from files uploaded to our server. I need
to make sure that only one instance of this script runs at anyone time, can
anyone tell me how I can do this?
Many thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Hi,
Please could someone tell me how i can extract the information from a string
that is after 'ID_' and before '_FN'
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a web based system that allows users to upload XML files and insert
them into the database, however some of these files are large and are
causing the webserver to timeout.
Is it possible to create a cron job that can insert the xml files say every
hour, then the users of the site would
Hi,
I have a web based system that allows users to upload XML files and insert
them into the database, however some of these files are large and are
causing the webserver to timeout.
Is it possible to create a cron job that can insert the xml files say every
hour, then the users of the site wo
Hi,
I am trying to create an XML file, it will be done in stages so if the file
isn't present I will add the line:
Then for each line I add I add the following
data
But for various reasons the application won't know when the file is complete
so it won't have the final:
T
Hi,
I have a problem with a query, I get the following error message:
You have an error in your SQL syntax. Check the manual that corresponds to
your MySQL server version for the right syntax to use near '' at line 23
If I echo the query to the screen and run the query to the database via SSH
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Shaun wrote:
>> Hi,
>>
>> I have a database that contains encrypted data using Mysql functio
Hi Matt,
Thanks for the reply, I know how to delete a file I just wanted to know if
its possible to ensure that its deleted automatically as soon as the user
has downloaded it.
Thanks...
"Matt M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>> I have a database that contains e
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on the server,
Hi,
I have am trying to create functions to convert strings to ascii and vice
versa:
function string_to_ascii( $str ) {
for( $i=0; $i < strlen( $str ); $i++ ) {
$asc .= ord( substr( $str, $i ) );
}
return $asc;
}
This function works fine, however I need to ensure that the ASCII
converti
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
Is it possible to create an ascii representation of a string with php, i
had
a look on the site but with no luck :(
[/snip]
You mean like this?
__
^(picture of a s
Hi,
Is it possible to create an ascii representation of a string with php, i had
a look on the site but with no luck :(
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi guys,
Thanks for your replies but neither UNION or REGEXP can be used with SHOW
TABLES...
Any ideas?
"Jochem Maas" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Marek Kilimajer wrote:
>> Shaun wrote:
>>
>>> Hi,
>>>
>>&g
Hi,
I have a query where I select all table names where the table name has PID_1
in i.e.
SHOW TABLES LIKE '%PID_1%';
However there may be cases where I need to search for tables where the table
name is PID_1 or PID_2. In MySQL this can't be done in one query, so how can
I do two queries and c
Hi,
I have the following query:
$result = mysql_query("SELECT * FROM Users");
while( $r = db_fetch_array( $result ) ){
echo $r['Name'];
}
Is it possible to use the same result set to loop through the values form
the begining or do I have to create the $result varible again?
Thanks for you
Hi,
I have site that allows users to upload private information to our server.
We would like to encrypt the data for security reasons and only allow
certain users to be able to un-encrypt the data and view it. I have looked
at the PHP encryption functions and they appear to be one way algorithm
Hi,
I have a system that scans through a CSV File and inserts each row into a
database. I have just noticed that some rows have a return character in
them - a small square - and this is causing errors in the mysql query.
Does anyone know how I can remove such chracters?
--
PHP General Mailing
Hi,
I have been investigating the problem of apostrphes in a mysql insert /
update. I use a db_query function for all my queries:
function db_query($query) {
$qid = mysql_query($query);
return $qid;
}
It appears after some research that the best way around the problem is to
check whether m
Sorry,
I was confusing strstr with strtr!
"Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>* Shaun <[EMAIL PROTECTED]>:
>> I am trying to ensure that all data added to each element of
>> $my_data_array
>&g
Hi,
I am trying to ensure that all data added to each element of $my_data_array
has no commas, however I get an error message saying Warning: Wrong
parameter count for strstr()
$my_data_array[] =
strstr( $data[1], ",", " " );
strstr( $data[2], ",", " " ).', '.
strs
Hi,
I have created an array of tables in my database and put it into a session
using the following code:
$_SESSION['ses_csv_files'][] = array();
$qid = mysql_query("SHOW TABLES");
$num = mysql_num_rows($qid);
for ($i = 0; $i < $num; $i++) {
$r = mysql_fetch_array($qid);
$_SESSION['
Hi,
is it possible to get php to calculate the date of the monday given a week
number and the year? I have looked http://uk.php.net/strtotime here and can
find refererence to everything but this!
Thanks for your help,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hi,
I am creating an online timesheet application. Most parts are done, however
I have a problem displaying a list of unapproved timesheets.
Here is my timesheet table:
mysql> DESCRIBE Timesheets;
+---+-+--+-+++
| Field
Hi,
I have a string as follows: pid_1_date_2004_10_25
pid tells me the Project_ID and date tells me the date(!). I need to extract
this information from the string so to get the date I need everything after
'date_' as follows:
substr(strstr($key, 'date_'), 4)
However, to get the Project ID I
Hi,
I have been trying for the past two hours to understand why I get an error
with the following code:
';
}
?>
Fatal error: Unsupported operand types in
/usr/home/expensesystem/public_html/test.php on line 5
I am trying to create a loop where $i is added to array element $i, and
can't find
Hi,
I am trying to use the strtotime function to get dates for the first and
last days of a given week:
';
echo date("Y-m-d", strtotime("sunday", strtotime("2004-10-18")));
?>
Using the code above works fine until the date input is a Monday then it
outputs the date of the previous Monday. Doe
Hi,
Could anyone help me with a reugular expression for a UK mobile phone
number?
So far I have tried this but with no success
$regexp = "/^447[0-9]{9}$/";
if(!preg_match( $regexp, $_POST[mobile_number] )){
$error = "Invalid Mobile Number";
The number nust be 11 numbers long, be all num
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > I have interviewed a few users and it has become instantly
> > apparent that
> > they all work differently and record slightly different
> > information about
> > their clients making it impossible to produce a general set
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
I am creating a site where users record details of their clients and
record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
[/snip]
How much time ha
Hi,
I am creating a site where users record details of their clients and record
their progress. The whole point of the system is to reduce the amount of
paper work and store everything online.
The problem here is that each user will have their own forms to fill in on
their clients, some will reco
Hi,
I am trying to create an outlook style day view calendar. I loop through the
hours in the day (00:00 - 23:00) and compare it to a diary table for the
user. If the users 1st appointment isnt until 10:00 then the hours print out
until that appointment then continue looking for the next appoin
Hi,
I have noticed that some of the functions in a tutorial I am studying have
an & in the variable parameters i.e.
function add(&$id) {
/* function body */
}
I would be most grateful if some can shed some light on this as i cant fnd
any reference to this in the PHP manual...
Thanks
--
PHP G
Hi,
How can I get the URL of the page I am on without the 'www.' i.e. just
mydomain.com? I need to enurse this is correct in case the user types in the
domain without using the 'www.'.
I have looked at using substr but if the user leaves out the 'www.' then
substr($_SERVER['HTTP_HOST'], 4) would
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >> function clear_orderinfo() {
> >> global $_SESSION;
> >> unset($_SESSION["orderinfo"]);
> >> }
> >>
> >> However this function doesnt seem to work and the session remains
> >> active, is
> >> there another way to clear a session
Hi,
Is it possible for a PHP application to communicate with an Outlook
calendar? I would like to create a web based application that shows staff
availability...
Thanks for any advice offered.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am writing a shopping cart and am using a session called
$_SESSION["orderinfo"] to store the order information. I also have a
function I use to clear the session when the payment has been authorized:
function clear_orderinfo() {
global $_SESSION;
unset($_SESSION["orderinfo"]);
}
Howev
Hi,
I have a table in my database that holds links for individual pages on my
site:
mysql> DESCRIBE Page_Links;
+---+--+--+-+-++
| Field | Type | Null | Key | Default | Extra |
+---+--+--+-+--
1 - 100 of 324 matches
Mail list logo