|
Clickok wrote: Do you use some automated tech to detect if some visitor is one WebCrawler?
And, more important, why?
|
|
|
|
|
Daniel Turini wrote: And, more important, why?
Why in traffic reports and ad tracking I need separate bots and human visitors...
Jesus is Love! Tell to someone!
|
|
|
|
|
Dear All,
(PHP/MySQL)
In my table have record more than 40000 rocords (all are pictures)and i have a search page when i start to search it work so slow and stuck, sometime the time is out.
Do you have any idea to help me? please help me.
Thanks you alot.
From:
Chanhan
|
|
|
|
|
How are you searching if they are all pictures ? What are you searching on ?
Hy Chanhan wrote: Do you have any idea to help me? please help me.
Well, no, we can't help. You have told us what your code does, and what goes wrong. Until we see what the code is, we can't comment on how it may be done better.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
|
Yes, i posted this question in devnetwork.net
Thank you, Hockey
|
|
|
|
|
Statement below make my search so slow:
$sWhere = "c.zipcode =". $searchresultstr;
$sWhere = " WHERE (" . $sWhere . ")";
$sWherePlus="AND (p.isbrand=True) AND (p.category_id=1 OR p.category_id=3 OR p.category_id=5 OR p.category_id=6 OR p.category_id=8 OR p.category_id=9 OR p.category_id=13 OR p.category_id=25 OR p.category_id=36)";
$sql_ads="SELECT DISTINCT t.contact_id as t_contact_id FROM `osb_contacts` AS `t`
Inner Join `osb_companies` AS `c` ON `t`.`company_id` = `c`.`company_id`
Inner Join `osb_products` AS `p` ON `t`.`company_id` = `p`.`company_id` WHERE ((POW((69.1*(c.longitude-\"$lon\")*cos($lat/57.3)),\"2\")+POW((69.1*(c.latitude-\"$lat\")),\"2\"))<($radius*$radius)) $sWherePlus";
$sSQL1="SELECT DISTINCT p.brand_sub_id as p_brand_sub_id FROM (osb_companies c INNER JOIN osb_company_info_details cd ON c.company_id = cd.company_id) INNER JOIN osb_products p ON cd.brand_sub_id = p.brand_sub_id WHERE ((POW((69.1*(c.longitude-\"$lon\")*cos($lat/57.3)),\"2\")+POW((69.1*(c.latitude-\"$lat\")),\"2\"))<($radius*$radius) $sWherePlus)";
------------------------------------------
The idea that i want:
if p.category_id=1 or p.category_id=8 then $radius=50
the other else $radius=1000
Can i use condition if in Where statement of MySQL and Can i set Variable of PHP
in Where Statement of MySQL
Please help me
|
|
|
|
|
I have made a web application for a customer, which has a messaging system integrated. It works so that each user logged in as member of a specific group can send a message that appears in a single line of each page in the system, for users presently logged into that group. the line is updated using atlas update panel. It updates by an atlas timer every second to look for messages in the database.
This is not supported on NOKIA phones, and even AJAX seems not yet to be supported.
Is there any other way to implement asynchronous update of just one control in a webpage aimed for Nokia phones (E61 mainly)?
thanks in advance,
Axel
|
|
|
|
|
If AJAX is not supported, you can use older techniques to make a request, like updating a hidden frame.
---
b { font-weight: normal; }
|
|
|
|
|
Hi ALl
I need to know the cause of Virtual Application Pool Crashes withing the IIS & whether it is caused by a prolem in the application or in the server..Also what is the error normally generated in the event log when a virtual application ppol crahes within the IIS.
Thanks a lot in advance..
|
|
|
|
|
Hi,
I'm building an Ajax project and i need to get an event from the page when the page is finished to load and to render and is shown to the client's interface.
The second question is when i invoke an Ajax panel through the event mentioned above, does it triggers the Ajax UpdateProgress when i call a method inside the UpdatePanel?
|
|
|
|
|
Lior S wrote: Hi,
I'm building an Ajax project and i need to get an event from the page when the page is finished to load and to render and is shown to the client's interface.
The second question is when i invoke an Ajax panel through the event mentioned above, does it triggers the Ajax UpdateProgress when i call a method inside the UpdatePanel?
I'm sorry but I'm a lil confused.
If you want an event that occurs when the page loads try this:
<br />
<body on load="Do.AmazingAjax.Rendering()"><br />
FANTASTIC PAGE CONTENT HERE!!!!!<br />
</body><br />
next, UpdatePanel? AJAX is a technology that is comprised of using JavaScript to perform certain functions without refreshing the page. There is no such thing as an update.
|
|
|
|
|
Thanks for your help and redirection.
Lior
|
|
|
|
|
i want a script that change the default home page when clicking on the link. but i want it also work with firefox .
this script works only in IE5 or late:
<a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://dynamicdrive.com');">Click here to make Dynamic Drive your default homepage</a>
-- modified at 2:43 Sunday 29th October, 2006
Faris Madi
Nothing Comes Easy (N.C.E.)
|
|
|
|
|
|
How, using AJAX techniques, can I update TextBox control implementing following two functions Button1_Click and Timer1_Tick listed below, that should work the same, but they don't. On Timer_Tick event my Control is beeing update every 1 second, but how can I do it calling a new process? Thanks in advance.
protected void process()
{
do
{
TextBox1.Text += "*";
Thread.Sleep(1000);
} while (true);
}
protected void Button1_Click(object sender, EventArgs e)
{
Thread myT = new Thread(process);
myT.Start();
}
protected void Timer1_Tick(object sender, EventArgs e)
{
TextBox1.Text += "*";
Thread.Sleep(1000);
}
Hobgoblin
|
|
|
|
|
You can't. Using timers on the server is useless in this context, as the server has no way of sending anything to the page after it has been created. Although the Page object may still remain in memory, it's response has already been sent to the browser, so doing anything to the Page object has no effect at all on the page displayed in the browser.
Anything that you want to do using time delay has to be initiated from the browser. AJAX is useful to do updates without having to reload the page, but still the request comes from the browser, the server can not send anything to the browser on it's own accord.
Use the window.setInterval method in Javascript to create a timer in the web page.
---
b { font-weight: normal; }
|
|
|
|
|
Is there any technique in .NET that I can use to push data to client's web browser? I have heard about COMET, but there is not any opensource. Any ideas?
|
|
|
|
|
mmiesi wrote: push data to client's
Push does not exist in reality. The client either polls or acts like a server that can be connected to for receiving notifications.
led mike
|
|
|
|
|
Yes, that's the kind of technology you'd have to use.
I'd suggest that you look a bit further, I bet there are some open source implementations. As COMET is a rather new name on technology that has been known for a while, there may be several implementations that does not (yet?) include COMET in their name.
---
b { font-weight: normal; }
|
|
|
|
|
or do you like just posting code.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Friggen annoying...WTF is he doing...
Now the forum is full of noise...useless...
CP should implement some lock on X number of concurrent posts without replies being posted by the same user...it would prevent goofballs like this from adding this much garbage to the forum...puching possibly important issues to the bottom of the stack - so to speak
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
Hi All,
I need to design architecture on a file handling application through web interface.
there will be limited no of users, and some DB logging will be there. so that database is not too complex.
Is it ok, if i have database server and IIS on the same machine, and having a file server separately ( i am talking of the physical machines).
Please provide your expert views on the same.
|
|
|
|
|
That should be fine, just be careful how you organize it and check that is it secure.
|
|
|
|
|
If u want to save/updates document file on the web server.
I think u should check Dotnetnuke or sharepoint service.
|
|
|
|