
Azu
Members-
Posts
1,047 -
Joined
-
Last visited
Never
Everything posted by Azu
-
The one I quoted from you near the top of the page. And I didn't mean that MySQL is bad because of the one error sorry. I just mean that I really want to get this working and I've been trying a long time and can't figure out how to do it in MySQL so I'm starting to think it can't be done in MySQL x_x;
-
Well.. thanks for trying to help me ^^ I give up though. I've been trying for a long time and I still can't get this to work. And when I try to use the query you posted it gives an error =/ I guess I'll try using postgresql or something and see if I have better luck in that? Since it seems this can't be done in MySQL...
-
Hello.. how do I select based on bitmasks? I'm looking for something like.. select * from table where 16 in bitmask(field) Edit: and I need to make sure that it will be indexed right of course so that it won't be slow. I'm guessing that indexing this column just like I would any other should work? Or is there something special I have to do for it to work for bitmasks?
-
I'm pretty sure they would get sued to hell, sent to jail, and shutdown if they tried to abuse your personal data. Microsoft, Yahoo, and all their other competitors would make sure of it. So they really can't do anything bad.
-
Or update to PHP 5 PHP 4 has been deprecated for quite a while. As you can see there is good reason for this.
-
Bleh my link broke :/ this one should work https://www.grc.com/x/ne.dll?bh0bkyd2
-
Or foreach(range(4.1, 5.0, 0.1)as $check_num))if($check_num=="4.3")$error_check=1; echo$error_check?'No match found!':'Match was found!';
-
Thanks.. I was wandering how to do it in (non server-language dependant) regex though, not in PHP..
-
So then a country isn't required to have a top-level domain? How do I get one? Someone said to Google but I have tried and have only been able to find sub domains..
-
I'm sorry but I personally use lots of sites that do, there is no doubt. If you want a really good example.. https://www.grc.com/x/ne.dll?rh1dkyd2 and click full scan.
-
I think you're wrong sorry. I'm pretty sure that as long as you don't buffer your output it should display as soon as you echo it.
-
I think what you're looking for is Javascript/Ajax/Automatic page refreshing. Nothing to do with PHP includes really..
-
Is there any chance that I read this wrong and you still have it? ^^
-
[SOLVED] What is wrong with this syntax - small piece of code
Azu replied to 938660's topic in PHP Coding Help
echo "<span class="price"><input name="title" type="text" id="title" value="<? echo $_SESSION['firstname']?>"[/u][/b] size="24" />"; The bold and underlined things are the problems. Replace those double quotes " with single quotes ' And replace the PHP reinitialization/echo with simply putting the variable there without all that. Here I fixed it for you just replace it with this; echo "<span class='price'><input name='title' type='text' id='title' value='$_SESSION[firstname]' size='24' />"; -
How to redirect all pages in a directory to https using htaccess
Azu replied to aniesh82's topic in PHP Coding Help
Shouldn't this be in the webserver section then? .htaccess redirects are server specific and have nothing to do with PHP, HTML or MySQL.. -
I think he wants one of his PHP pages to automatically run every 5 seconds. Probably some kind of automated maintenance or scraping.
-
Hmm.. how good of a program do you want? As good as say.. babelfish? Better? And how much are you willing to pay?
-
Oh.. so there is only one top-level domain per country? Which one owns .com? o_O
-
Hello I'm working on making a regex for URL links since none of the ones I've found work right for me. I just have one little problem with it.. I can't figure out how to make it give http:// as the default protocol if there is no protocol given. Like with the URL www.google.com/search?q=Foo And since I don't know how to make it add one, clicking on the link ends up taking you to http://MyWebsite.com/www.google.com/search?q=Foo Instead of http://www.google.com/search?q=Foo So please tell me how to do this in regex.. In PHP I would do it somewhat like this if(substr($Blah,0,4)=='http')$Foo='http'; elseif(substr($Blah,0,3)=='ftp')$Foo='ftp'; //etc else$Foo='http'; Edit: the way I have it in regex right now is like (https?|ftp) Anyways ya basically I want that to return "http" if it doesn't match https? or ftp.
-
So basically there are three common types of domains Sub-sub domain "mywebsite.somebodyelse'swebsite.domain" Sub domain (what I have) "mywebsite.domain" And the actual domains themselves.. like com, net, org, info, and such. What I want to know is.. how do I get a top level domain like that? So people can put mywebsitename into the address bar of their browser instead of mywebsitename.domain?
-
It seems the problem is that you've already completed the quest.
-
Hmm well I would be glad to review a site you made yourself, but I'm not going to review Drupal, since you didn't made Drupal. And on a side note, it seems you didn't even make that theme for it either (since it says right on the bottom of the page who made it). When and where did I ever imply that? Bringing up Christianity sure seems to have brought a lot of stereotypical views of my character. So much for tolerance... In your first post where you said it was just a site for Christians. What was the point of that if you aren't trying to alienate everyone that isn't a Christians?
-
First of all, it would be great if you could somehow check when his page was last modified. Maybe it's stored in a header or something? And only download the page if your copy of the page is old. This could cut down on the bandwidth usage A LOT. Unless every single page changes every half hour. As for proxying in curl.. http://www.google.com/search?q=PHP+curl+proxy&start=0&ie=utf-8&oe=utf-8
-
http://labnol.blogspot.com/2005/11/add-language-translation-to-website.html
-
Try replace all "select" statements with "select distinct".