Hi,
to create a list of all months in drop-down menu I use this code:
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
?>
$i "
Well, looks like the idea is alway the same, with some (very usefull)
variations.
Thanks for help!
Afan
> [EMAIL PROTECTED] wrote:
>> Hi,
>> to create a list of all months in drop-down menu I use this code:
>>
>> > $month_names = array(1=>'Jan
if(isset($var1)) { include 'another.php'; }
> Hi,
>
> How can i load another php file ("another.php") directly without an action
> (example: clicking on a button)?
> I'd like to do in my php script:
>
> if(isset($var1)) { // load another.php }
>
> It is possible to include the file, but i just
# store entry time to session
$_SESSION['entry_time'] = time();
# checking if session expired
if((time() - $_SESSION['entry_time']) > 3600) #session expired after 1 hour
{
header('login.php');
exit;
}
-afan
> Hi all.
>
> I have users log into my s
real_escape_string($value);
31 }
32 }
Never got such a error message before.
Any thoughts?
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
A little bit "lower" on php.net/manual I found explanation too.
I'm sorry for bothering - wasn't check whole page before posting. The
Warning was strange for me because never got it before
:)
Thanks for your help.
-afan
> [EMAIL PROTECTED] wrote:
>> I moved my
ction? I checked the apache.org
but didn't find the answer.
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t there are tons of them.
Can somebody recomend any class? Something simple.
Thanks for any help.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
; But, it's so easy to get blacklisted if you make a mistake and I wanted
>> to
>> grab and use good email class to do this. OUr web server is php5 based.
>>
>> Was looking on phpclasses.net for the class but there are tons of them.
>> Can somebody recomend any class?
, but worth mentioning.
>
>
Jochem,
I'm reading most of the posted questions/answers on the mailing list
because of exact reason you mentioned. You're right. But, don't remember
any that can help me with this issue. Though, wasn't detailed and give a
chance to missed these. :)
In general, yes, you're right, I could/should spend a bit more time
scanning Archive and most likely find the answer there. Accept your
critisizm and applogy.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me[0] ;
$time_new = $hours.':'.$date_time[1].':00';
$date_final = $date_new[2].'-'.$month.'-'.$date_time[1].' '.$time_now;
Is there better solution than this above?
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
WORKS PERFECT!
Thanks Brad!
-afan
> [EMAIL PROTECTED] wrote:
>> hi,
>> $date = "January 8 2007 11:23 pm";
>> and have to store it on db in datetime column as -mm-dd HH:ii:ss.
>> Is there any function that will "translate" $date in format I
&
Hi,
I have a little script that was working fine when uploaded files up tp 16MB.
I moved to other hosting company and use the same form/script. Not, I
can't upload eitherr 2MB file.
Where to look for limitation first?
According to phpinfo() post_max_size in php.ini is 8M.
Thanks.
To: [EMAIL PROTECTED]
Is it possible the get error back on specific email if email is not (for
some reasons) delivered?
Thanks for any help.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o, can't find (but almost sure I saw it before) the line
>> for send back if error, like we have for:
>> From: name <[EMAIL PROTECTED]>
>> CC: name <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> Is it possible the get error back on specific email
hi,
is it possible to specify email address in mail() function where bounced
email could return?
I checked http://us2.php.net/manual/en/function.mail.php but didn't find
anything.
thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
right place. It's the 5th parameter you want to change.
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
>
yesterday somebody posted really good explanation about this
:)
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Now, when I talk to them they said we have to pay $250 to be fixed?!?
I have root access and have some php/mysql/apache installation experience
and want to fix myself - can somebody point me to the right dir
'
>>
>> and this:
>> gd
>> GD Support enabled
>> GD Version bundled (2.0.28 compatible)
>> GIF Read Support enabled
>> GIF Create Support enabled
>> PNG Support enabled
>> WBMP Support enabled
>> XBM Support enabled
>>
>&
> can somebody point me to the right direction?
>
> google?
very funny...
already was searching google but didn't find anything.
yes, I can spend enxt 12 hours searching on google, but isn't easier to
ask here after SOME research?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsu
r
way?
-afan
> [EMAIL PROTECTED] wrote:
>>> can somebody point me to the right direction?
>>>
>>> google?
>> very funny...
>> already was searching google but didn't find anything.
>>
>> yes, I can spend enxt 12 hours searching on goog
Thanks for your help. Though, a tech guy from hosting company fixed this.
And I didn't need to mess around.
;)
Thanks.
-afan
> Haydar Tuna wrote:
>> Hello,
>> Firstly, you should download latest GD library and Jpeg library
>> and
>> then you should c
t issue, but may have something to do with the data you
> are echoing out in PHP. Look at the source in the browser. My guess it
> that
> you've got a stay quote mark in one of your PHP vars.
>
> Edward
>
> PS: If you want your code to validate, change the & to & Add t
try this
if ($i%5 == 0) echo "foo";
-afan
> I have a little script that prints a number out from 1 to 100
> [php]
> for( $i=1; $i<=100; $i++ )
> {
> echo $i;
> echo "";
>
> }
> ?>
> [/php]
>
> I just need to add code to print someth
lDate2friendlyDate.php, etc) and these wil be called/included when
needed.
-afan
>
>
>
>
> R.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
first step is: take a paper and pen and start drawing your app structure
in blocks.
once you "finished your app" on the paper start drawing db structure.
start coding after you have the solution for every situation.
:D
-afan
> Hey... I am new to the list so please forgive me if I
never find good app for
it. if you can recommend - I'll be more than happy to use it and stop
wasting paper (agree with you on "poor tree" :D)
-afan
> Cheers,
> Rob.
> --
> ..
> | InterJinn Application Framewor
#x27;";
>
> $result = mysql_query($sql);
>
> if ($result == "")
> {
> echo "No result found";
> }
> echo "Found";
try this:
$sql = "SELECT Client FROM booked WHERE Name = 'larry'";
$result = mysql_query($sql);
if(mysql_num_rows(
http://www.estrintech.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
On both Win and Linux I use Zend Studio. Not free but it's worth every cent.
Before I used HomeSite. Great tool too.
If you use Linux Quanta+ is great tool too.
Download EVERY editor you think and try it. What I like doesn't mean it's
ok with you. Try even not free editors - it's worth testing, and you will
find what do you really want from an editor.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Afan Pasalic wrote:
>>
>> Jochem Maas wrote:
>>> Richard Kurth wrote:
>>>
>>>> What do you do when isset does not work? If I send data in a
>>>> $_REQUEST['var'] like
>>>> if (isset($_REQUEST['var
es) he
has to do just one thing: upload zip file.
???
Or, if somebody has an idea about this whole process?
Thanks!
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rketing person zip images and csv file together, then in admin area
> uload zip file to server, and php then unzip file and do the job.
> Actually, instead doing two operations (upload csv file and ftp images) he
> has to do just one thing: upload zip file.
> ???
>
> Or, if som
>>>Hi,
>>>right now in my firm, to upload new products to web site, marketing
>>> person
>>>has to, in admin area, upload csv file (then php read content and store
>>>info in DB), and then ftp all images in temp directory. And then, using
>>>other php script, resize images and put them in product_
g else is "entered" in 4th field.
What I'm doing wrong?
Thanks for any help.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for this. Spelling error.
:(
-afan
> Hi to all!
>
> I have a form with 6 text fields where visitor has to enter product serial
> number (same type data). he has to enter AT LEAST ONE.
>
> for ($i=0; $i<6; $i++)
> {
> echo ' size="25">'
/www.zend.com/manual/security.magicquotes.disabling.php that
ini_set() is not an option, but there is an solution to disable magic
quotes at runtime. Means, I can use this to change code (prepare for
turning off) on pages with forms? Correct?
Thanks for any help.
-afan
--
PHP General Mailing List (htt
hm. good idea. actually, it's, at least, the most safe way.
:)
thanks.
-afan
> [EMAIL PROTECTED] wrote:
>> Hi to all.
>>
>> Have a web site on server where magic quote is turned On. Because of
>> problems with quotes within forms, I was thinking to turn it Off. I
hes($value);
return $value;
}
$_POST = array_map('stripslashes_deep', $_POST);
$_GET = array_map('stripslashes_deep', $_GET);
$_COOKIE = array_map('stripslashes_deep', $_COOKIE);
}
and included i header.php (header of every page).
-afan
>
good idea!
:)
thanks richard!
-afan
> On Wed, August 9, 2006 9:07 am, [EMAIL PROTECTED] wrote:
>> Have a web site on server where magic quote is turned On. Because of
>> problems with quotes within forms, I was thinking to turn it Off. I
>> wonder
>> how much work
My thought was to use this until I do all changes. Once the changes are
done - turn off magic_quote_gpc in php.ini.
but, agree, redo whole site on separate place (under 'new' or on other
box) is much better solution.
-afan
> On Thu, August 10, 2006 7:54 am, [EMAIL PROTECTED] wrot
scenarios of "bug make mess".
Did anybody had a problem with "2nd window" and how is it solved? What's
wrong with structure/idea I used to make a program?
Any comment will be helpful to determine or give me an idea how to fix
this bug.
Thanks for any help.
-afan
--
P
, $_SESSION['session_info']['OrderID,
'], $_SESSION['session_info']['PageID'], etc.) is to be able to see who is
"online", eventually by redoing sessions table, when they started session,
how much time they spend on application, what they mostl
the first place, but what ever I use (rsort, krsort,..) i loose product
numbers (key).
any suggestions?
thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
o of those too and they look
fine and stable to me).
My question is actually, your opinion about OSC and/or CRE Loaded, safety,
support and, of course, how the application is coded (as friend of mine
told me once "the worst code ever written that works fine" :)).
Thanks.
-afan
> OSC
hi.
I have to check if the script file belongs to any ov form1.php to
form6.php files. Need something like:
preg_match('/form*.php/', $_SERVER['PHP_SELF'])
wher * kan be any number between 1 and 6.
Thanks for any help.
-afan
--
PHP General Mailing List (http://www.php.
Works perfect. Thanks!
;)
-afan
> function doMatch($f) {
> echo $f,
> " = ",
> (preg_match("#^form[1-6]\.php\$#",basename($f))?"true":"false"),
> "\n";
> }
>
> doMatch(
= mysql_real_escape_string($_POST[editid]);
then:
$sqledit = "
update activities
set act_extra='".$act_extra."',
act_extra_fr = '".$act_extra_fr."'
where act_id = '".$act_id."'";
to check:
echo $sqledit;
it shou
I have something like this:
when I tried to use swiitch()
it will give me only the first true case. if $result['col_1'] == 'value_1'
is true 2nd case will never be executed?
Does it mean I CANNOT use switch() in this case?
-afan
--
PHP General Mailing List (htt
Means, my first solution was the only solution.
Thanks.
-afan
> Using a switch like this is more equivalent of
>
> if(something){
> // true
> } else {
> // false
> }
>
> You're doing :
>
> if(something1){
> // true 1
> }
>
> if(something2)
No. They are two if statements because they are indepedent.
> On Tuesday 29 August 2006 13:44, Ray Hauge wrote:
>> Using a switch like this is more equivalent of
>>
>> if(something){
>> // true
>> } else {
>> // false
>> }
>
> Actually, it's more like an if/elseif/else (if you use default:) or
>
rst place.
>
I forgot about this "break" (sounds crazy :)).
Thanks for making this clear to me.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
link it.
How can I get rid of special chars from file names?
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e Page you are trying to view contains POSTDATA that has expired from
cache. If you resend the data, any action the form carried out such as a
search or online purchase) will be repeated. To resend the data, click OK.
Otherwise, click Cancel."
Thanks for any help.
-afan
--
PHP General Mai
:D :D :D
How to get back then?
> [EMAIL PROTECTED] wrote:
>> Hi,
>> Could somebody explain to me what to do to skip this message I'm getting
>> after I search for some products on my page, got the list of products,
>> selected a detailed view of the product and click on the Back button of
>> the
as a
>> search or online purchase) will be repeated. To resend the data,
>> click OK.
>> Otherwise, click Cancel."
>>
>> Thanks for any help.
>>
>> -afan
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To
>> cache. If you resend the data, any action the form carried out such as a
>> search or online purchase) will be repeated. To resend the data, click
>> OK.
>> Otherwise, click Cancel."
>>
>> Thanks for any help.
>>
>> -afan
>>
>> --
gt; from
>> >> cache. If you resend the data, any action the form carried out such
>> as
>> a
>> >> search or online purchase) will be repeated. To resend the data,
>> click
>> >> OK.
>> >> Otherwise, click Cancel."
>> &
Hi,
"Fatal error: session_start(): Failed to initialize storage module in
/home/vernoncompany.biz/includes/validations.php on line 2"
validation.php:
#1 http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r any help.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php - didn't get any error,
>> but
>> when tested I was able to see my code (tested with )
>> in
>> the browser. for installation used yast.
>>
>> what could cause this?
>>
>> tanks for any help.
>>
>> -afan
>>
>> --
>>
.. and this was the "mmissing" part. I thought YAST will do everything :(
Yup. It works now. Thanks Rob!
Thanks to everybody else for help.
-afan
> Cheers,
> Rob.
> --
> ..
&g
;order_status'] ."|";
echo "UPLOADED FILES: ";
$query2 = mysql_query("
select uf.file_name
from uploaded_files as uf
where uf.order_id = $result['order_id']
");
while($result2=mysql_fetch_array($query2))
{
echo $result2[
orders
> JOIN uploaded_files AS uf ON orders.order_id = uf.order_id
> ORDER BY orders.order_id DESC
> LIMIT 100
>
> HTH,
> John W
>
>
>>
>> thanks for any help.
>>
>> -afan
>>
>> --
>> PHP General Mailing List (http://www.p
while I was trying again I did something wrong (?) and my server is now
"busy" and looks like it went down?!?
The qestion is how can I check first query before I apply it to be sure
I'm not goig to read every record in my DB or get into loop?
thanks.
-afan
> On 10/9/06
sure it is!
;)
> On Mon, October 9, 2006 2:58 pm, John Wells wrote:
>> On 10/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>> but I know there must be much better solution then this one.
>>
>> You're right: Simply JOIN your queries...
>>
>> SELECT order_id, order_date, order_status, file_nam
ok. got the point.
>
>
>
> On Mon, October 9, 2006 3:09 pm, [EMAIL PROTECTED] wrote:
>> But, in this case I will have repeating order_date and order_status
>> info?
>>
>> idorder_datestatusfile_name
>> 122006-10-09live file1.jpg
>> 122006-10-09live file2.jpg
>
no. there is no such variable name in my code.
> Afan Pasalic wrote:
>
>> hi to all,
>> we are moving our web server from one to other hosting company. we have
>> chance to request what version of php i want to be installed, 4 or 5.
>> Current web server works
currently using mysql 4.0.18. want to move to 5.0 (latest stable version
for commercil use). is there anytihng I have to be considered DB will not
work?
thanks.
> no. there is no such variable name in my code.
>
>
>> Afan Pasalic wrote:
>>
>>> hi to all,
>>
ult = mysql_fetch_array($query);
$NoOfRecords = $result['NoOfRecords'];
OR
$query = mysql_query("
SELECT cust_id
FROM customers
WHERE last_name = 'Smith'");
$NoOfRecords = mysql_num_rows($query);
OR something else?
Than
WOW! That was fast!
:D
Thanks Dave!
-afan
> $query = mysql_query("
>SELECT COUNT(*) as NoOfRecords
>FROM customers
>WHERE last_name = 'Smith'");
> $result = mysql_result($query, 0);
>
--
PHP General
Hm. There is a little problem - this doesn't work.
Warning: mysql_result(): supplied argument is not a valid MySQL result
resource in /var/www/html/xxx/tests/count.php on line 28
?
> $query = mysql_query("
>SELECT COUNT(*) as NoOfRecords
>FROM customers
>
Sorry, my bad! It works jsut fine. I did misstake.
:)
>>
>>
>> > $query = mysql_query("
>> >SELECT COUNT(*) as NoOfRecords
>> >FROM customers
>> >WHERE last_name = 'Smith'");
>> > $result = mysql_result($query, 0);
>> >
--
PHP General Mailing List
Would it be ok to use the same code to check if customer is loged in?
$query = mysql_query("
SELECT COUNT(Username) as NoOfRecords
FROM customers
WHERE Username = '$Username' AND Password = '$Password'");
if (mysql_result($query, 0) == 0)
{
echo 'Ple
rd =
>> '$Password'");
>>if (mysql_result($query, 0) == 0)
I just realized that the answer I already got in previous answers :)
Didn't pay an atention!
:)
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e using register_globals "on" which is bad.
Nope! globals are off.
:D
> Once again, start reading:
> http://phpsec.org/
I'm Shiflett's fan!
:)
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
query?
as a solution, I can run a query to grab all records and then list just 25
products but I think it's not so smart idea :)
thanks for any help.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
cords.
>> do I have to run first a query (something like SELECT COUNT(*) as
>> NoOfRecords FROM products) and then query above or there is solution to
>> have both info using one query?
>>
>> as a solution, I can run a query to grab all records and then list just
>&
ry will give you the number of rows that would have been
> returned without the LIMIT clause. There's no way to do it with one
> query though... at least easily or quickly.
>
I have to test it because I use 4 tables in the query. But, I think is
worth trying. At least will learn
hi!
the company I work for moves our web server to other hosting company
(dedicated server). we use php 5.1.2, apache 2.2, mysql 5.0.18, and I
wonder what else I have to change in php.ini settings?
register_globals is Off
magic_quotes_gpc is Off
what else you recomand to do?
thanks.
-afan
ter_globals is Off
>> magic_quotes_gpc is Off
>>
>> what else you recomand to do?
>
> r2 turn off ALL the garbage disposers.
what do you mean?
> and have a look at php.ini-recommended (or whatever it's
> called exactly)
Thanks Jochem!
>
>>
>>
register_globals On
but it doesn't work.
any help will be appreciated.
thanks
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r, he is not happy to reconfigure
Apache to allow .htaccess because of security issue. Is this REALLY so big
issue? I have several osComerce carts and in some (most) of them I did
some changes in code. Means, I have to move all carts to other shopping
cart app and it's HUGE work?!?
btw,
my solution:
if($_SERVER["HTTPS"] != 'on')
{
header ('location: https://www.your_domain_here.com');
exit;
}
-afan
> Hi,
>
> I would like to know how can i be sure to make customer use the SSL all
> the
> time.
> all the time in my PHP c
th 200-300 orders per day and averge of 5
items per order I think we really don't need that replacement.
though, don't know how php works with DB2 (assuming same quality as with
mysql).
can anybody give me some ideas and "reasons" to present to boss to NOT
replace mysql with
ader("Content-Encoding: gzip");
}
and I'm getting login.php as blank page.
But, when I hide ob_start() and header() lines I will get login page but
with Warning says "The Encryption key file is missing."?!?!?
Any idea?
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OS,php version, OSC version, etc you are
> running)
>
> bloomin' weird error about the 'Encryption key' though... assuming it's a
> php error... chances are it's specific to OSC.
>
> ps - don't know anything about OSC myself, sorry
>
I alerady p
t; ps - don't know anything about OSC myself, sorry
>>>
>> I alerady posted on osCommerce forum but soemtimes I have to wait for 2
>> days to get an answer :)
>> Could it be something in php.ini has to be changed? Or Apache?
>> I use php 5.2 and Apache 2.2
le stuff)
>> - Is there a difference (look and programming) and how "big" it is,
>> between PDFLib and free solution?
>>
>> Could you please give me some directions?
>>
>> Thanks.
>>
>> -afan
>
>
> Pure Web Solution
> http://www.purewebs
I need for
really simple stuff)
- Is there a difference (look and programming) and how "big" it is,
between PDFLib and free solution?
Could you please give me some directions?
Thanks.
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;t compare them?
Thoughts?
Thanks!
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Where is "the limit"?
Why is not 24M as default in php.ini?
Thanks!
-afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
bytes.
>> I tried with 16M and it worked :)
>>
>> My question is how "far" I can go with increasing? Where is "the limit"?
>> Why is not 24M as default in php.ini?
>>
>> Thanks!
>>
>> -afan
>>
>>
> I think 16m should be
to put
>> ini_set("memory_limit","12M");
>> on the top of the script, except allowed memory size wasn't 8m then 12m
>> bytes.
>> I tried with 16M and it worked :)
>>
>> My question is how "far" I can go with increasing? Where is
Hi to all,
session_start();
$_SESSION['sessid'] = session_id;
echo $_SESSION['sessid']; will show e.g. 699e506bd42ea402985dce24a0ef9
After:
unset($_SESSION['sessid']);
$_SESSION['sessid'] = session_id();
I'm getting the same SID again.
I tried with session_unregister() and session_destroy()
Try CRE Loaded.
http://www.creloaded.com/
It's osCommerce shopping cart with tons of already pre-loaded
contributions (modules).
-afan
> I actually just installed OS commerce on my site, but I think it might be
> hard for my clients to upload their contents. They need it to be
Yup! That works perfect!
Thanks Tedd
:)
-afan
> At 9:19 PM +0200 4/6/06, [EMAIL PROTECTED] wrote:
>>Hi to all,
>>
>>session_start();
>>$_SESSION['sessid'] = session_id;
>>
>>echo $_SESSION['sessid']; will show e.g. 699e506bd42
Or, use form and images as button and you will not get variables at the
end of the link:
>
and on the top of the page (php file) before you grab info from database
and language info (maybe i the header file):
-afan
> On 15 Apr 2006, at 12:51, Alain Roger wrote:
>
>> bu
rders is a
little bit over 200,000 - what is not "so much".
I'm assuming that the problem is not in the script than in the way I built
queries.
My question is how can I check what's taking so long in execution of the
script/query?
Where to start with improving the script?
Th
Yes, I have indexes but can't say they are done perfectly though.
:)
-afan
> [snip]
> I was developing one site with fake records in DB. Now, I put it live
> whit
> real records. The site is running ok, but it's painfully slow. Even for
> grabbing an order from DB and s
Yes, it was problem with indexing and with help of "explain select" I got
really decent speed.
tanks to all for big help!
-afan
> [snip]
> I was developing one site with fake records in DB. Now, I put it live
> whit
> real records. The site is running ok, but it'
1 - 100 of 294 matches
Mail list logo