|
by: Phil Powell |
last post by:
Fourth attempt.. it fails now in login, I check by printing
$_COOKIE and there is no value there! Guys, what
on earth do I do about this????
Here is the code that sets the cookie:
if ($hasLoggedIn && ($row = mysql_fetch_row($query))) {
setcookie('nordicnet_registration', $row,
0, '/');
@mysql_free_result($query);
|
by: R. Gregg Reed |
last post by:
I'm trying to intergrate a cgi affiliate tracking system into a php
website. When someone pays using PayPal it's supposed to direct them to one
page if the payment is a success or another if payment failed. This is the
code:
if($action == order && $order_n != "")
{
include "engine/card_process.pml";
|
by: Mandy Holmes |
last post by:
Hi all (Newbie alert!)
I am a bit stuck. I want to set a cookie when a hyperlink on my website is
clicked. This cookie will then be used to determing which of 5 images is
displayed on that page and all the subsequent pages throughout the website.
I don't know of the best way to do this as I am merely a graphic designer
taking on a new challenge!
If anyone has any suggestions it would be greatly appreciated.
|
by: Jenn |
last post by:
I have done alot of web work in all sorts of languages but I have never used
the simple cookie. Question is
How does one set and retrieve a simple session cookie. All it will do is
have an image change on 1 page only with every new visitor, there are 5
images it should be random and stay the same unless the session is ended.
Sounds pretty simple but I cannot find simple examples of a cookie doing
anything similar to this. I found oodles...
|
by: Wiebe Tijsma |
last post by:
Hi,
I'm using C# + webDAV to create a draft message to be sent in a user's
Drafts folder.
I can create the message successfully, however when I open the message
in outlook, it doesn't show the 'send' button, (only 'reply' etc as if
it was a received message).
I'm using exchange explorer to see the difference in webDAV properties
|
|
by: TechnoAtif |
last post by:
Hi All,I'm using following two codes for logging in and logging out,respectively.
At the localhost the codeis working fine however when uploaded on the internet,The login page works fine but the logout page has no effect.Clicking on logout tab does not logs out the user and the user account remains intact.
Any help please.
Login:
<?
setcookie("appid",$row->applicantid);
setcookie("email",$row->email);
|
by: LayneMitch via WebmasterKB.com |
last post by:
Hello.
Got another one for you folks. I'm working on this problem that wants me to
1. Prompt for name
2. Use pop-up box with name
3. Display current date on page in format "October 30, 2000."
4. Display last modified date of doc.
Here is my attempt. What a headache :-(
|
by: SupraFast |
last post by:
I have two hosting accounts. On one, my setcookie script works fine; cookies are created. On the other, the same script doesn't work. The function returns TRUE, but no cookies is created.
I checked to make sure that the variables have values and that the proper expire time is set and etc.
Any ideas?
<?php
foreach($_POST as $name => $value){
if($name == 'hItem'){
$item = $value;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|