I'm no SQL pro, but I have the following statement that works... but I want to add something else to it.
SELECT p.id,p.user,p.userid,p.cat,p.storecat,p.ismature,p.title,p.bigimage,p.height,p.width,u.location FROM pp_photos p, pp_users u WHERE p.approved=1 AND p.storecat=0 AND p.userid=u.userid...
I'm looking for a very simple download for php for an RSS reader/parser for my site. I use vBulletin on a part of my site and its able to supply a feed...
In another php app I want to take that feed and take the data and output it as I wish.
I've seen complicated solutions out there, MAGpie...
I'm using Regexp::Common::Profanity to filter out profanity from user submitted data... I want to replace all occurrences of profanity with the appropriate # of asterisks...
A four letter word ends up being: "****". Here's the start of what I have, but syntactically it's incorrect.
$noprof =~...
I think you're looking for something like this:
typedef struct
{
char ID[3];
short length;
char msg[14];
} __attribute__((__packed__)) message;
at least thats what I'm assuming your eventually getting at..
Wow... late binding sucks...
No Intellisense, and the complexity it takes to perform simple manipulations is unbelievable...
So it either takes a lot more code or more version controlled users...
thanks for the link craig
Well I have compiled my code on a machine with 2003, and it indeed does run on a machine with office 2007...
My question is how can I change the references in the solution explorer to reference older versions? I would love to be able to have it reference office11 (2003) but be able to compile...
I've developed an application (that creates excel files) on my Vista box with Office 2007 on it.
It runs perfectly well. When I move the App to another box (XP) with Office 2003 on it, and try to run it.. It tries to load Office 12.0 dll, which doesn't exist...
How can I change my application...
...
Took me 5 seperate Regex's (in a specific order) to determine them the way I want.. certainly not pretty, but I think fairly necessary.
Thanks for the insight.
I think I've narrowed it to two cases..
1. It must start with a drive letter, then a colon, then an amount of characters until a .extension.
2. A windows system exe. "MsiExec.exe" or "Rundll32"
here's my regex for the first case:
^\s*(([a-z]|%):.+\.\S+)\s*(.*)
Seems to work well.. if...
Honestly, if you could make it run on that input above, it would suffice... those are basically the same as what I've run into, having just substitured letters..
one more:
Rundll32 C:\stuff here\ohboy a\abc.exe /haha
Rundll32 being the filename, and the rest the argument
I agree with you, maybe my title is off... Because I know how to write regex's... I just don't know the particular logic which would be used to work on all of these.... was just asking for suggestions/ideas.
I guess the whole point was for you guys to give your input on it... looking at the list of 6 items, I think we can all clearly determine which ones are the Filename and the Argument... no? The argument is simply a switch or install argument for the filename... Beyond the examples I've given...
Filname is the first 'part' of the line. It doesn't have to contain an argument at all. The filename may or may not have double quotes surrounding it. It doesn't necessarily have to have an extension to be defined as the end of a filename... (although maybe it does, except for system...
I need to match these strings, and match them into filename, and arguments. Been trying for a while now, somewhat stuck on the last one :-/
"C:\PRO GRAM\SOM DIR\ABC.Exe" /abc
C:\Program\ab fil\blah.abc /abc
C:\blah\hmm.huh /okthen
hello /crap
hi
C:\Program\ab fil\blah.abc C:\blah...
There are a lot:
http://search.cpan.org/dist/DateTime-TimeZone/
At the bottom it has a
DateTime::TimeZoneCatalog
but that doesn't seem to work... I guess there's nothing I can really do then..
Here's my final use block for working set for only EST:
!/usr/bin/perl
use strict;
use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.