Register Advertise with usHelp Desk Today's Posts Search

Showing results 1 to 56 of 86
Search took 0.37 seconds.
Search: Posts Made By: eminc
Forum: Programming 12th September 2016, 01:08 AM
Replies: 3
Views: 126
Posted By eminc
RE: Is there any way in php to check whether login from pc or mobile device?

Check the useragent:

$_SERVER['HTTP_USER_AGENT'];

Option 1: (stackoverflow)
Bit complex, but overall good for fine grained control over devices.

...
Forum: Programming 12th June 2016, 10:48 PM
Replies: 15
Views: 831
Posted By eminc
Re: Site Hacked

This problem has been there with virtually EVERY WP install. You can have a look at WpEngine which provides some level of security by itself, and also has a option of daily backups which you can...
Forum: Programming 12th June 2016, 10:47 PM
Replies: 15
Views: 831
Posted By eminc
Re: Site Hacked

Install this: https://wordpress.org/plugins/better-wp-security/
Forum: Programming 25th August 2013, 11:14 PM
Replies: 17
Views: 778
Posted By eminc
Re: does anyone know of any database service that automatically generates number schemes for large s

I don't think there is any service which creates this. If you have a lot of HTML pages/Text and you want to convert them to Database based, I'm afraid you will have to write a manual script or...
Forum: Programming 5th August 2013, 10:17 AM
Replies: 3
Views: 493
Posted By eminc
Re: Real time massive updates to millions of users

See if this helps: Meteor (http://www.meteor.com/). See the video directly on the right side. Will explain more than reading text :)

What will you really do with refreshing updates is Pull always....
Forum: Programming 5th August 2013, 10:12 AM
Replies: 8
Views: 562
Posted By eminc
Re: Building a site with Boot Strap

wayfarer is correct, you have to use a include or something else. there is one more way, to pull them and create them from a file using Javascript, there are all sorts of plugin these days ;)

If...
Forum: Programming 5th August 2013, 03:37 AM
Replies: 8
Views: 562
Posted By eminc
Re: Building a site with Boot Strap

By bootstrap I hope you are talking about Twitter bootstrap. Correct me if I am wrong. If its that, you will easily get this on the site from where you downloaded it.

Can you please elaborate...
Forum: Off Topic Forum 14th November 2012, 09:29 AM
Replies: 62
Views: 1,193
Posted By eminc
Re: Kind of Death you Want?

By gettin chokeslammed by Undertaker from above Hell in the Cell, live at Wrestlemania 40 or somethin' :P :P
Forum: Programming 10th November 2012, 02:09 PM
Replies: 5
Views: 659
Posted By eminc
Re: Trying to write my first Wordpress Plugin .... HELP!

Hey Kirk,

A suggestion to tidy up the code a bit.

In case you have a big list of options in that select box, you would have to put the if condition in every select option, and if one...
Forum: Programming 9th November 2012, 10:43 PM
Replies: 2
Views: 529
Posted By eminc
Re: Want to learn PHP and OOP in group setting? Need Learn Paypal API?

Hey Terry,

Love the idea. There are a lot of things that ONLY an Internet Marketing client would ask for, or only a person creating a IM product would do :)

Here's a story: A while back I...
Forum: Off Topic Forum 8th November 2012, 04:34 AM
Replies: 2
Views: 357
Posted By eminc
Anyone runs SETI@Home?

For all those who don't know

SETI@home ("SETI at home") is an Internet-based public volunteer computing project employing the BOINC software platform, hosted by the Space Sciences Laboratory, at...
Forum: Programming 5th November 2012, 05:20 AM
Replies: 9
Views: 1,095
Posted By eminc
Re: display comment immediately after submitting the form.

Follow this tutorial, contains basic stuff. This should give you a good start :)

Comment system with jQuery, Ajax and PHP....
Forum: Programming 5th November 2012, 01:20 AM
Replies: 9
Views: 1,095
Posted By eminc
Re: display comment immediately after submitting the form.

CMS = Content Management System, like Joomla, Wordpress, Drupal, etc.
Forum: Programming 2nd November 2012, 02:28 PM
Replies: 4
Views: 510
Posted By eminc
Re: Redirecting sub-domain.

Hey,

Create Subdomains via cPanel, it asks you for a document root(different folder in your /public_html directory). Specify a different folder there.

Suppose you create a sub domain...
Forum: Programming 23rd October 2012, 04:39 AM
Replies: 10
Views: 563
Posted By eminc
Re: What the &*%^ API's?

Hey,

API works just like normal PHP code, difference being that you can input/output using any other programming language. Mostly conversion tracking and other things are done by Javascript, so...
Forum: Programming 25th July 2012, 08:17 AM
Replies: 4
Views: 513
Posted By eminc
Re: Email All Users Contacts

I guess you can opt-in the person in a email list of AWeber, GetResponse, Imnica etc, or manually import them if the service allows you to. Gives you a better control over the emails you send. Plus...
Forum: Programming 4th January 2012, 01:55 PM
Replies: 10
Views: 1,397
Posted By eminc
Re: How to handle over 300K records with MySQL

Seems like you need some optimization in the queries as well as
mysql database tuning. Problem could be at two places, sometimes
we write queries which take long time, or there are design flaws...
Forum: Programming 3rd December 2011, 12:46 PM
Replies: 6
Views: 2,385
Posted By eminc
Re: JS Help need , fill iframe form with JS

You can see the workaroudn section of the same article in Wikipedia.



Source: Same origin policy - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Same_origin_policy)

Mohit
Forum: Programming 3rd December 2011, 11:45 AM
Replies: 6
Views: 2,385
Posted By eminc
Re: JS Help need , fill iframe form with JS

If you mean you are putting a page from another domain in the iframe and trying to access that, it won't happen :). Wonder if somebody were to embed a iframe of a Bank account system and take...
Forum: Programming 3rd December 2011, 10:00 AM
Replies: 17
Views: 604
Posted By eminc
Re: html CSS help!

This will give you Background image by div, but will not make it clickable. We were suggesting changes in the HTML elements of your page.

My solution was to put this code inside the TD tag in...
Forum: Programming 3rd December 2011, 09:13 AM
Replies: 17
Views: 604
Posted By eminc
Re: html CSS help!

Can you paste the code that you are implementing in your website? Its pretty basic and should work.

Mohit
Forum: Programming 3rd December 2011, 08:45 AM
Replies: 17
Views: 604
Posted By eminc
Re: html CSS help!

Or you can use,

<img type="button" src="http://your-url" />

Mohit
Forum: Mind Warriors 2nd December 2011, 08:52 AM
Replies: 31
Views: 1,632
Posted By eminc
Re: Music lifts the Spirit

My all time favorite

YouTube - Broadcast Yourself.

Mohit
Forum: Programming 2nd December 2011, 08:27 AM
Replies: 2
Views: 370
Posted By eminc
Re: Created my first wp plugin but...

Hi,

I can guess from quickly looking at the code that you are doing some kind of split testing for posts or pages. You have defined a shortcode, and by using that you are randomly deciding which...
Forum: Main Internet Marketing Discussion Forum 2nd December 2011, 07:44 AM
Replies: 10
Views: 941
Posted By eminc
Re: Facebook question (what happened here?)...

I think that is a temporary ban. I am not quite sure, but I think they say:



Source: Facebook Help Center | Facebook (http://www.facebook.com/help/search/?q=block)

I think you can wait for...
Forum: Website Design 28th November 2011, 06:30 PM
Replies: 1
Views: 359
Posted By eminc
Re: Password

If you have cPanel, you can reset your password using phpMyAdmin (i.e. directly from the mysql database). Its explained here:

Reset a WordPress Password from phpMyAdmin | Devlounge...
Forum: Main Internet Marketing Discussion Forum 28th November 2011, 05:01 PM
Replies: 1
Views: 558
Posted By eminc
Re: What is the best Best WP Plugin for Auto-Posting to FanPage Wall?

Hi Linda,

Use the Facebook JS SDK if you want to avoid SSL. I used it in some plugins, and it works quite good. A good point to start with the JS SDK would be JavaScript SDK - Facebook Developers...
Forum: Website Design 28th November 2011, 04:20 PM
Replies: 22
Views: 1,280
Posted By eminc
Re: I've messed up my permalinks on WordPress

You can try /%postname%/. Works fine for me. Here's a screenshot of my permalinks page for reference.

I suppose homepage will not work with permalink http://www.fiscaltree.co.za/home
, as it is...
Forum: Main Internet Marketing Discussion Forum 28th November 2011, 04:06 PM
Replies: 7
Views: 751
Posted By eminc
Re: Mac Vs. Windows - The Ultimate Debate

I recently switched from Windows to Mac. Document formats are not a problem to me as I purchased Microsoft Office for Mac. My productivity now went up 4x. Also, Mac is more stable and secure than...
Forum: Main Internet Marketing Discussion Forum 28th November 2011, 03:31 PM
Replies: 4
Views: 455
Posted By eminc
Re: collecting data with log files, such as IP addresses

If you have the log file, you can run AWStats on it to find specific information. It also gives you number of visits, visit duration etc.

AWStats - Free log file analyzer for advanced statistics...
Forum: Main Internet Marketing Discussion Forum 28th November 2011, 03:24 PM
Replies: 24
Views: 1,051
Posted By eminc
Re: Facebook Has Changed Again!!

Not only this, but facebook is constantly changing its API also. I just looked at the Developer's roadmap some days back for a Facebook Application, and it looks like they are deprecating FBML, which...
Forum: Programming 27th November 2011, 10:15 AM
Replies: 70
Views: 2,330
Posted By eminc
Re: What is your favorite editor or IDE?

I use Komodo Edit on Mac nowadays. When I worked in windows, I had a copy of PHPDesigner and sometimes Eclipse too. All of them were good. :)

Content coloring and background etc can be changed in...
Forum: Programming 27th November 2011, 10:05 AM
Replies: 18
Views: 1,535
Posted By eminc
Re: Why does 12 - 6 = 7? (Arrays)

Actually its a progression example, and not precisely related to an array. If you don't take a progression and assign a random value to array, this condition will not arise and thus formulas will not...
Forum: Programming 27th November 2011, 04:52 AM
Replies: 10
Views: 450
Posted By eminc
Re: Beginner in PHP- Help My Confused Head

Hi,

I suggest going for a step by step tutorial of PHP. As Brandon already explained, its more like learning a foreign language. Here's a learning trail that you can follow:

0) Make a...
Forum: Programming 27th November 2011, 03:57 AM
Replies: 18
Views: 1,535
Posted By eminc
Re: Why does 12 - 6 = 7? (Arrays)

Here basic principles of a arithmetic progression will be applied. A little bit of mathematical explanation here :)

For a arithmetic progression, you will calculate the Nth element using the...
Forum: Programming 27th November 2011, 03:34 AM
Replies: 1
Views: 440
Posted By eminc
Re: need help with a form and PHP file upload

The file upload part can be helped by this link

PHP File Upload - PHP Upload Script - Upload file script (http://php.about.com/od/advancedphp/ss/php_file_upload.htm)

Once you get the target...
Forum: Main Internet Marketing Discussion Forum 22nd November 2011, 11:50 PM
Replies: 22
Views: 933
Posted By eminc
Re: A super computer for online marketers?

1-3 screens will be good, but having 6 screens is a overkill. Though I really like the Multi-screen screensaver used in swordfish, and wanted to buy a setup like that just to show off that...
Forum: Programming 22nd November 2011, 12:25 PM
Replies: 3
Views: 560
Posted By eminc
Re: SQL - Choosing Random Records Depending on the date

Check out the queries with test results here.

Carl J » Selecting Random Records With SQL (http://www.carlj.ca/2007/12/16/selecting-random-records-with-sql/)

I think the query for SQL server...
Forum: Main Internet Marketing Discussion Forum 21st November 2011, 02:45 PM
Replies: 5
Views: 556
Posted By eminc
Re: Viral Facebook Tactics - Warrior Thoughts?

Do you mean something like this?

WordPress › Facebook Like - Content Locker « WordPress Plugins (http://wordpress.org/extend/plugins/facebook-like-content-locker/screenshots/)


Mohit
Forum: Programming 21st November 2011, 02:36 PM
Replies: 4
Views: 353
Posted By eminc
Re: Can this be done?

For synchronization, you can use a SFTP setup from the local computer, where it will sync the local directory contents (from your home PC) to the server, every x hour/minutes/seconds.

I think...
Forum: Programming 21st November 2011, 02:16 PM
Replies: 3
Views: 388
Posted By eminc
Re: Getting a list of email bounces

It looks like you need to check the SMTP logs (typically located at /var/log/mail.*), and then run them through any log parser to get all the error messages related to bounced email addresses.
...
Forum: Programming 18th November 2011, 12:36 PM
Replies: 2
Views: 342
Posted By eminc
Re: An URL question,anybody know it please tell me

Everything with ?a=b suggests a GET request to server, if you talk in the programming language. a here is the variable name and b is the variable value. To explain this simply, there are GET...
Forum: Main Internet Marketing Discussion Forum 18th November 2011, 12:29 PM
Replies: 31
Views: 1,835
Posted By eminc
Re: Alternatives to Paypal in India?

I will suggest you stick to PayPal only, if its not too much. As described above, in India, every money-holder should have a Permanent Account Number, and that's required for a PayPal account as...
Forum: Programming 18th November 2011, 12:13 PM
Replies: 2
Views: 595
Posted By eminc
Re: main drive set to small D: drive not large C: partition

Normally the main drive(in windows) is the one which installs the operating system itself. If its setup in the D: Drive, that means you will have to get the OS installed in the C drive.

Every...
Forum: Programming 18th November 2011, 12:04 PM
Replies: 12
Views: 508
Posted By eminc
Re: Your advice on PHP Website programming

I think if you know the basics of programming, you can already find what you need in order to get to that CMS system. If that's a popular one, you will find all the help you need, Google's always...
Forum: Programming 13th November 2011, 05:30 AM
Replies: 3
Views: 1,238
Posted By eminc
Re: Multiple File upload help in php

How about this tutorial? :D

PHP Multiple files upload (http://www.phpeasystep.com/phptu/2.html)

If you want multiple upload boxes added on the fly, it involves a small piece of javascript code...
Forum: Programming 13th November 2011, 05:25 AM
Replies: 4
Views: 830
Posted By eminc
Re: similar jquery news tickers in same page , Problem :(

Maybe you need to use different IDs for different tickers. Can't say much since I don't know what actually is going on in website. Can you paste the URL where you are using it?
Forum: Programming 5th November 2011, 01:40 PM
Replies: 9
Views: 1,163
Posted By eminc
Re: How can I use MySQL to create expiring download links?

Hi,

I am not sure how your product selling works, but for generating random download URLs this link can work for you.

Reference: How to generate random url in php? - PHP Webmaster Forum...
Forum: Programming 2nd November 2011, 08:13 AM
Replies: 7
Views: 867
Posted By eminc
Re: 301 Redirect Help-Need Regular Expression for Permalink Day and Name

Hi Shawn,

The regular expression is complete in a way, and includes the postname. So you don't need to add another post name to it. I will break the code for you:

[0-9]{4} - A 4 digit number...
Forum: Programming 1st November 2011, 03:34 AM
Replies: 7
Views: 867
Posted By eminc
Re: 301 Redirect Help-Need Regular Expression for Permalink Day and Name

Looks like a nice idea if we are using PHP, but I guess the plugin which Shawn is using accepts only regular expression. Same with the case of a .htaccess file where we use mod_rewrite and write a...
Forum: Mind Warriors 31st October 2011, 12:30 PM
Replies: 29
Views: 958
Posted By eminc
Re: Take some time out - It worked wonders for me!

Ah! Happens with me all the time, when I hit the Coder's block. In our profession we require to be creative all the times, and it affects the work badly.

Its true that our mind is designed to run...
Forum: Programming 31st October 2011, 12:01 PM
Replies: 7
Views: 867
Posted By eminc
Re: 301 Redirect Help-Need Regular Expression for Permalink Day and Name

Hi,

A simple regular expression

/[0-9]{4}/[0-9]{2}/([^/]+)

works for a URL like

http://example,com/2011/09/somepost
Forum: Programming 31st October 2011, 11:10 AM
Replies: 11
Views: 1,137
Posted By eminc
Re: Membership signup process with Aweber looks so damn stupid!

Possible solution:

1) Write a small code on the AWeber form in onSubmit() event to make a AJAX post request containing email id and username. This sends data to your website's database and sets...
Forum: Off Topic Forum 30th October 2011, 09:05 AM
Replies: 620
Views: 30,475
Posted By eminc
Re: Attention Warriors: Urgent

Great Idea Will. Unfortunately I can't put images in my signature. Borrowed Diana's signature as of now. :)

Mohit
Forum: Off Topic Forum 30th October 2011, 03:48 AM
Replies: 620
Views: 30,475
Posted By eminc
Re: Attention Warriors: Urgent

Maybe I can help. Can you tell me the specifics?
Forum: Programming 30th October 2011, 03:36 AM
Replies: 4
Views: 470
Posted By eminc
Re: Rusty php _$request

Hi,

First off, the type of request which you have indicated is a GET request.

Secondly, you will require to add a variable to the value, otherwise it won't recognize the value. Every value...
Showing results 1 to 56 of 86

 
Forum Jump


All times are GMT -6. The time now is 06:32 PM.