yep it was., it will trigger warning of character already established.,
my system has a an option of session length: forever
but theres' a time (no definite time). all session variables gone. so my system logout the user. That's really the problem.
User Profile
Collapse
Profile Sidebar
Collapse
xxoulmate
Last Activity: Apr 4 '11, 06:58 AM
Joined: May 12 '07
Location:
-
session start is at the begginning of the script.
and there is no space either on the first line.
is it something to do with what they call garbage collector.Leave a comment:
-
session variables lost unexpectedly
why there's an instance.
my page been session timeout.
code something like this:
Code://login page session_start(); $_SESSION['var1'] = "username"; //will be redirected to main.php when logged in header('location:main.php');
Code://main.php session_start(); echo session_id(); foreach($_SESSION as $key=>$value) { echo $key."
-
Current procedure
step 1: (put the query results in a file)
- select * from table into outfile 'c:\test.csv'
step 2: (upload the file in a blob)
- insert into tablename (blob) select load_file('c:\t est.csv')
the main goal is to shorten the process.,
instead of doing two steps do it in just one procedure.Leave a comment:
-
How to save query results to blob field
saving query results to a file
select * from table into outfile savepath
is it possible to save the query result directly to blob field in a table
e.g. something like below
insert into desitination_ta ble_name (blobfield) select * from table -
-
retrieve file from other server
how can i get other file from other server which do not have apache installed
eg.
server A(192.168.100.1 ) has apache installed
server B(192.168.100.2 ) has no apache installed and where the file to be retrieve resides
using php how can i do that., -
How to extract query result of outfile into another server
is it possible to point the select * from table into outfile filename into another server.
what i mean the output will be save in another server from A to B server.
where mysql resides in server A. -
file exist on other server
how to check if file exist on other server.,
eg. server 1 is A
server 2 is B
in A there's a folder img and has a file test.txt inside
in B there's a folder img2 and has a file test.txt inside
A has a php program
B has no php program
this script below resides in server A
Code:if (file_exists('/img/test.txt')) { echo "exists"; }
-
-
get workgroup name of local computer
how to get workgroup name of a local computer of OS 98 and xp? -
i saw what u say., the only problem left is for os 98.,
netserverenum is just for xp.,
how can the os 98 retrieve computer names on a workgroup?Leave a comment:
-
not in the link what im looking for.,
what im need is something like this example:
the user will supply the workgroup name:
workgroup name = workgroup1
as the user supply the workgroup
the system will list down all computer the resides on that workgroup.,
like when u use net view /workgroup:workg roup1 on dos prompt
is there something like thatLeave a comment:
-
list all ip or computer names on a lan group/workgroup
get list of ip or computer names on a specified workgroup.,
is there any api that can list down that. -
dos in vb
how can i execute this dos command in vb and get the dos result
ping computername
so the variable must hold the value like this
a = "Pinging computername [ipaddress].... " -
no i dont need to enlarge the max size for upload
it's just no error occurs when uploading a file with size more than the max sizeLeave a comment:
-
here is my code:
php.ini config: maxfilesize = 2m
i set form MAX_FILE_SIZE to 2mb
when i upload a file below 5 mb., error occurs.
when i upload a file more than 5 mb no error occurs.,
when i check if form submitted success fully no "got here" message on my screen.
Code:if (isset($_REQUEST['btnattach'])) { echo "got here"; if ($_FILES["file1"]["error"]
Leave a comment:
-
uploading file with large size
i have uploading script.
limit in 2 mb
in php.ini 2mb also
when the size of file be upload is greater than 2 or less than 5 mb of course there's an error message return
but when the size of file to be upload is greater than let say 5 mb no error occurs it just refresh the page., when i try to simulate and look if submit is set, submit of form not detected too.
how can i trap that error -
-
tnx i got it.,
<a href='home.php? a=hello%26world '>hello</a>Leave a comment:
No activity results to display
Show More
Leave a comment: