|
how to integrate geo-fencing on my website using php code?
|
|
|
|
|
Where are you stuck? We need a lot more information.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Maybe it is enough to use a simple code as being used for example on this quite neat site which is not a Finnish based domain ( .fi domains are ) but it still does well with big G. This site is using
meta http-equiv="content-language" content="fi"
to describe the site is in language "finnish".... ? I dont know but I am seeking answet to this GEO question also. Or maybe the site has so many visitors that search engines likes it....just an example.... 
|
|
|
|
|
The site you've linked to is a Finnish credit-comparison site. This sort of link looks suspicious, as it's the type of site usually associated with spam messages.
Although your message appears to be genuine, I'm afraid the presence of that link is probably enough to get it removed. The spammers seem to have been getting craftier recently, hiding links in otherwise normal messages, and a lot of us have itchy trigger-fingers on the "report" button.
You might also find that your account gets removed. Your other message also mentions a spam-like domain, and you haven't set a display name in your profile, which is the sort of behaviour usually exhibited by the spammers who frequently bombard this site.
If this happens, please don't take it personally. You'll be able to sign up again, and so long as you remember not to post links to random websites - at least not before you've established yourself as a genuine user! - you can look forward to a long and happy membership.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
How does one account for a single transaction across logs when there is no common fields (foreign key fields if you will)?
* Multiple hits at the same time on Apache web server.
* Apache routes access to Tomcat which is acting as an application server
* Tomcat builds response but needs to access CGI on Apache via non 80 port which spawns a SAS/SUDAAN process (think SQL)
* CGI responds through Apache back to Tomcat which completes response page then routes it back to Apache (80) which sends it back to client web browser.
When doing log analysis how does one tie these individual events into a tidy transaction using Tomcat and Apache logs? Stated differently; when doing pretty reports, how can one link these transactions together? As stated before multiple accesses are occurring within the granularity of the time-stamp; Tomcat and Apache are recording the time-stamp but it is not very useful.
Thanks so much,
EB Bligh
|
|
|
|
|
I wrote this HTML for a header:
<header>
@ViewBag.Title
</header>
but the problem is that the text is not centered correctly, it's centered on the space of the header after the image, any suggestions to get it right to the center?
|
|
|
|
|
I have a regular C# desktop GUI application providing regular windows interface.
WCF is not used for supporting these interfaces, since it mainly working as a standalone desktop application, with a lot of data involved in data transfer. But I have used WCF with netNamedPipeBinding for UI automation.
Now I would like to call these interfaces from a web page also.
So in my understanding
1. I have to host my desktop application as WCF web service
( with httpBinding and need o provide a new contract for the interfaces).
2. Call the existing I/Fs from the new interface class.
Please correct me if wrong.
aks
|
|
|
|
|
Cross posting is not tolerated here so please be patient and wait for some answer. Bear in your mind that people answer question in their own spare time free of charge!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Can site A set a cookie where the cookie's domain = "site B" ?
Meaning site B will receive the cookie once the user leaves site A and browses to site B?
Is this allowed by most browsers?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
To learn in depth Google for 'cross domain cookies'...
In a few words - no, you can't. You can't share cookies across domains. There are some solution (like site forwarding) but most are not secure at all...
You have to learn a lot to see your options - than find a cookie-less solution
You may start here: http://www.cookiecentral.com/faq/#4.3[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Hi guys;
I've been trying to come up with a way to build an automated PHP transfer system between 2 servers.
Server A : only ftp access; server B : ftp access and can run php scripts.
I want to copy all file in server A to a folder in server B;
Here is what I am trying to do :
1: function compress_each_ftp_folder_or_file_in_ftp_Backups_folder();
2: function delete each_ftp_folder_in_ftp_Backups_folder_after_successful_zipping();
3: function download_each_archive_in_ftp_Backups_folder();
4: function delete_each_archive_after_successful_download();
I have written some scripts for step 2, 3 and 4 but nothing found on web that help me with step 1;
I found lot of codes to compress folders or files on local server, but I don't found any script that compress a whole folder on a remote ftp server.
I think it was the time to ask for a help. Thanks for helping me.
|
|
|
|
|
This page
http://www.bbc.co.uk/news/special/2014/newsspec_7141/index.html[^]
Looking at the source code it uses bootstrap.js, but I'd like to understand more about how they put it together... I vaguely remember seeing something, somehwere, about it, but can't find it or remember where. Any pointers gratefully received. Ta.
|
|
|
|
|
Wombaticus wrote: I vaguely remember seeing something, somehwere, about it, but can't find it or
remember where. Clickety[^]
CP search rocks
|
|
|
|
|
Thank you! Now why TF couldn't I find that? (Probably best you don't answer that...)
|
|
|
|
|
I am using custom calendar in my web based application and I am facing one issue, In some of users machine on IE-9 when I click on calendar icon to open it than blank calendar area is displaying any control like dates month year ok, cancel button ... not displaying.
I have try to use it with compatibility view On & Off both but it's not working. I am struggling with this issue.
Can you please give me quick help to resolving it.
Regard's
Kaushik
|
|
|
|
|
can you please share your code here. and what type of error are you getting.
|
|
|
|
|
Hi,
I have a PHP / HTML5 web project for students to upload thier powerPoint presentation in order to share it with others.
Once PowerPoint file is uploaded, how can I displat it on the webpage?
What's the technique used for such task?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
You have two options:
1. Provide the uploaded file as is, and let the client support the PowerPoint installation (If client has any application that can open PP files it will do)...
2. Convert PP to HTML using some 3rd party application (Google for it) and present it to the client...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Hi,
There are lot of ways you can do this:
1) Upload and Link
Yes, you could just upload a PowerPoint file to your web space and link to it as you would to any other file. Visitors click and download the file to view on their own computers. Of course, that will only work if all of the users already have PowerPoint (or compatible software) installed on their computers, so you may want to convert your slideshow to a PDF document format or publish a link to Microsoft
2) Get a Widget
Upload your PPT, PPS, or even PDF files to SlideShare and they're converted into shared media. Copy a snippet of code to embed your presentation directly in your own web page (or simply link to your presentation page on SlideShare’s hosting service) and select the level of privacy you want for each file.
3) Publish an HTML web page
A more serious issue with saving in HTML from the PowerPoint software is that the resulting web presentation is optimized for Internet Explorer. More often than not, it will not display properly for website visitors who are using other browsers. Free open source software may be a stronger choice in this instance. OpenOffice Impress, the PowerPoint look-alike from OpenOffice.org, lets you create a PPT presentation and slideshow from scratch, and it will also convert an existing PowerPoint presentation to HTML in a form that's compatible with a broader range of browsers.
4) Flash it!
Accuracy of the PPT-to-SWF conversion will vary from program to program, depending in part on the complexity of your presentation. You may need to try a few tools in order to find the one that works best for your purposes and budget. Or get around any tricky conversion issues with free screen recording software like CamStudio — record your PowerPoint presentation as you play it back on your own computer screen (even add an audio commentary to the slideshow, if you want).
Some visual blog editors will have a toolbar button for uploading video, but showing a Flash movie on your website is most often as easy as uploading your SWF file to your web space and using a few lines of object / embed code to embed the file on your page.
|
|
|
|
|
Hi,
I have a PHP website project and I am looking for an IP Address Lookup API or web service (IP Owner not just IP Geo).
I tried googling it but could't find any..
have you ever came across such service?
Thanks,
Jassim
Technology News @ www.JassimRahma.com
|
|
|
|
|
Hello Jassim,
I can solve this problem as well as want to work on your php project..
Please contact me on mehul@lightlink.in OR skype: mehul.bavarva
|
|
|
|
|
Hi,
Can you please see this link:
http://www.jassimrahma.com/[^]
I am reading the Google News using SimpleXML
but the format is ruined! and I am unable to find the classes used in the Google News.
can anyone help please..
Thanks,
Technology News @ www.JassimRahma.com
|
|
|
|
|
Have you tried searching Google?
|
|
|
|
|
Hi,
I have created a facebook page and a facebook application for my ASP.NET website and now I need to post messages from my ASP.NET webpage onto the facebook page with help of facebook SDK .NET.
This is what I got so far :
public static bool UploadPost(string message)
{
dynamic result;
FacebookClient client = new FacebookClient("secret access token");
result = client.Get("oauth/access_token", new
{
client_id = "[Client ID number]",
client_secret = "[Client sercret",
grant_type = "client_credentials",
});
result = client.Post("[facebook app Id]/feed", new { message = "Test Message from app" });
result = client.Get("[facebook app Id]");
return false;
}
When running this I get(on client.Post) :
Additional information: (OAuthException - #200) (#200) The user hasn't authorized the application to perform this action If I remove the client.Post row every thing works good, the correct data is fetched.
I have tried follow some helps on facebook SDK .NET website but it is still not working.
Pleas help
|
|
|
|
|
Hi,
I have two different headers. I want header2 to replace header1 when the users scrolls the page.
this is header1:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/logo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="mypage" <?php if (basename($_SERVER['PHP_SELF']) == 'mypage.php') { ?>class="current_page_item"<?php } ?> accesskey="2" title="">My Page</a></li><?php } ?>
<li><a <?php if (basename($_SERVER['PHP_SELF']) == 'browse.php') { ?>class="current_page_item"<?php } ?> href="browse" accesskey="3" title="">Browse</a></li>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="signin" <?php if (basename($_SERVER['PHP_SELF']) == 'signin.php') { ?>class="current_page_item"<?php } ?> accesskey="4" title="">Students</a></li><?php } ?>
<?php if (!$_SESSION["blended_learning_user_id"]) { ?><li><a href="adminsignin" <?php if (basename($_SERVER['PHP_SELF']) == 'admin_signin.php') { ?>class="current_page_item"<?php } ?> accesskey="5" title="">Admin</a></li><?php } ?>
<li><a href="contact" <?php if (basename($_SERVER['PHP_SELF']) == 'contact.php') { ?>class="current_page_item"<?php } ?> accesskey="6" title="">Contact Us</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
and this is header2:
<header>
<a href="home"><img id="logo" src="<?php echo $_SESSION["blended_learning_domain_name"]; ?>images/smalllogo.png" /></a>
<nav id="navMenu" role="navigation">
<ul>
<li><a href="home" <?php if (basename($_SERVER['PHP_SELF']) == 'home.php') { ?>class="current_page_item"<?php } ?> accesskey="1" title="">Home Page</a></li>
<?php if ($_SESSION["blended_learning_user_id"]) { ?><li><a href="out" accesskey="7" title="" style="color: white; background-color: red;">Sign Out</a></li><?php } ?>
</ul>
</nav>
</header>
how can I do this please?
Technology News @ www.JassimRahma.com
|
|
|
|