Search found 977 matches

by twinedev
Mon Aug 28, 2017 12:25 am
Forum: HTML, CSS and other UI Design Technologies
Topic: What am i missing???
Replies: 7
Views: 11328

Re: What am i missing???

To be honest, since this is a CSS issue, it might be better to ask in a different location other than "PHP Code"
by twinedev
Thu Apr 07, 2016 2:46 am
Forum: PHP - Code
Topic: Wordpress - how do you set the domain if you move the site?
Replies: 1
Views: 1837

Re: Wordpress - how do you set the domain if you move the si

This is a little old, so you may have solved this, but I will reply anyway in case someone else reads it having the same issue. You also need to update any content that has the domain coded in (ie. You added media to the page, it will be hard coded to the full URL to the item, it will need to be fou...
by twinedev
Fri Sep 11, 2015 5:18 am
Forum: General Discussion
Topic: Windows 10: officil wallpaper pack... where is it in Win 10?
Replies: 1
Views: 3150

Re: Windows 10: officil wallpaper pack... where is it in Win

First result in doing google search for "windows 10 wallpaper location" (and it offered that phrase in autocomplete after I typed "windows 10 wall")...

http://www.tekrevue.com/tip/windows-wallpaper-location/
by twinedev
Mon Aug 17, 2015 4:12 pm
Forum: PHP - Code
Topic: Word Press: locally hosted uploaded to live, wants *.local
Replies: 7
Views: 1671

Re: Word Press: locally hosted uploaded to live, wants *.loc

be sure to check for any post content that has links/images in them. Unless you do a S/R across the table or use a migrate plugin, while menus and such will be in the right place, content references will still be point to a full url of something like: <p>If you need more info, please <a href="h...
by twinedev
Mon Aug 03, 2015 4:47 pm
Forum: General Discussion
Topic: Is there a good Windows 8.1 backup software for ex. HDD?
Replies: 5
Views: 7192

Re: Is there a good Windows 8.1 backup software for ex. HDD?

Not sure how it is holding up anymore (haven't used it in a while), but used to use Acronis True Image (http://www.acronis.com/en-us/personal/pc-backup/) Anymore though, all my "working files" are in Cubby (like Dropbox), which keeps revisions, and then once a week I do a driect raw copy o...
by twinedev
Tue Jul 28, 2015 4:19 pm
Forum: PHP - Code
Topic: showing php result in same page
Replies: 6
Views: 1109

Re: showing php result in same page

In order to do this, you are going to need to use javascript Instead of actually submitting the form to the server, you will need to capture it (the on submit, but you can't just give it a page name, Javascript doesn't know how to handle that) So assuming you want to pass the form to the database lo...
by twinedev
Thu Jun 11, 2015 4:39 pm
Forum: PHP - Code
Topic: How do I fwrite a php variable into text input
Replies: 2
Views: 1073

Re: How do I fwrite a php variable into text input

you have a big, Big, BIG security issue with this code. You are allowing the user to execute any PHP code they want (assuming they know/figure out how the site works). Besides that issue, in addition to what Celauran mentioned about needing to wrap the value with quotes, you should also use htmlspec...
by twinedev
Mon Apr 13, 2015 7:12 am
Forum: PHP - Code
Topic: Please help with red lines on my index page
Replies: 6
Views: 2969

Re: Please help with red lines on my index page

The red line is coming from your definition of the ID #welcome-box. You are seeing it in two places here (across whole page as a separator, then a second under the column with the View Gallery button), is that you have non-valid markup for the page from using the ID on more than one item.
by twinedev
Mon Mar 02, 2015 6:14 am
Forum: PHP - Code
Topic: What's wrong with this $_SERVER['HTTP_REFERER'] code?
Replies: 2
Views: 1000

Re: What's wrong with this $_SERVER['HTTP_REFERER'] code?

you need to also check to see if 'HTTP_REFERER' actually exists, there are some times when it doesn't exist. (Also side note, if it does exist, this is one of those items you cannot trust as it is supplied by the visitor of the site, so treat it like you would something passed via $_POST/$_GET) Also...
by twinedev
Tue Jan 20, 2015 7:44 pm
Forum: Databases
Topic: Can you check if a field has NO numeric values in the query?
Replies: 4
Views: 6380

Re: Can you check if a field has NO numeric values in the qu

While you have a "fix" to make it work, it is good to eliminate the issue before it reaches the database.

Whenever you write the value to the database, do trim( $variable, '|' ) so you get rid of any possible leading/tailing pipes, and if it is only pipes, you will get empty string.
by twinedev
Sun Jan 11, 2015 2:34 pm
Forum: Databases
Topic: changes to database not showing on website
Replies: 1
Views: 4517

Re: changes to database not showing on website

Script caching, server caching, browser caching... any of those in play for the page?
by twinedev
Mon Jan 05, 2015 12:31 pm
Forum: PHP - Code
Topic: mysql_fetch_array() expects parameter 1 to be resource
Replies: 5
Views: 1804

Re: mysql_fetch_array() expects parameter 1 to be resource

As mentioned, the mysql_query() returns false (instead of a database resource that mysql_fetch_array() requires) when the query fails, therefore you need to look at the query that assigned the value to $seselect and see why that query ran. Part of programming is learning to debug where things go wro...
by twinedev
Sun Jan 04, 2015 10:54 pm
Forum: Job Hunt
Topic: Who can help with this website?
Replies: 5
Views: 11706

Re: Who can help with this website?

Well, you will probably get better replies if you get more specific about what exactly you need help with on it. You ask can it be written in C/C++ or PHP Language... Well, technically yes, it can be written in all three of those... and more specifically, since it is running Magento, it already is o...
by twinedev
Thu Jan 01, 2015 9:51 pm
Forum: General Discussion
Topic: Finding out VERSION of phpGrid
Replies: 3
Views: 2983

Re: Finding out VERSION of phpGrid

It would be less likely an issue with what version of Apache, and more of a issue with what version of PHP. Kinda hard to troubleshoot from remote without seeing what is going on on the server (what exactly is "breaking", are you getting error messages? ) Almost definitely would be somethi...
by twinedev
Mon Dec 29, 2014 12:02 pm
Forum: PHP - Code
Topic: Error In Getting Text From Another Website Using Span Id
Replies: 2
Views: 690

Re: Error In Getting Text From Another Website Using Span Id

After you do do the load, do you verify that the source code did properly load? Can you manually go find a span with and id of spanid1?

beyond that, without knowing what code you are working with (the source of the the other site), kind of hard to say.