Forums Page 78
-
Mastering Regular Expressions, Third Edition, is available.
The Third Edition of Mastering Regular Expressions is available. QuoteThis third edition is 58 pages longer than the second edition, and now reaches…
-
highlighting search terms
well, I started this in the regular PHP section, but it no longer fits there. Suffice it to say, I'm trying to take individual search terms that are…
-
How to ask a regex question?
Hi, I thought I'd share some of my insight after seeing too many bad questions that either get ignored, rejected, or misunderstood in this forum. I'm…
-
How to ask a regex question?
Hi, I thought I'd share some of my insight after seeing too many bad questions that either get ignored, rejected, or misunderstood in this forum. I'm…
-
Curly Bracket Delimeters.
I'd always believed that the starting and ending delimeters in preg_ functions had to be the same character, but recently discovered that you can use…
-
Find only certain URLs from page ... regex (semi-complete script)
Hi guys, What I need to do is take a page & extract all the URLs from the page & place them in an array. However I only need to grab certain…
- Advertisement
-
preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the string, but only if it is accompanied by a letter, not…
-
eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following Code: [Select]if((eregi("<[^>]script*"?[^>]*>", $secvalue)) ||…
-
Simple Scraper... Weird Output
Okay, maybe I just need a Blue Monster and some sleep, but.... I'm scraping a ringtone site just so that I can download all of the ringtones and add…
-
matching numbers inside ( )
I know I can match numbers by just [0-9]+, so I thought matching numbers inside ( ) would be something like Code: [Select]/([0-9]+)/, but that…
-
Date Format
Hi there, I have a date format like this right now: Sat, 17 Oct 2009 17:04:00 I need to turn that into: 2009-10-17T17:04:00Z My thought process was…
-
ereg_replace()
Basically what i need to do is $title = "This Suck's" $striped = ereg_replace("[^A-Za-z0-9]", " ", $title ); However, I only want it to strip the " '…
-
how to load a Sys file with system load and call images?
normally you need register the module as a service with CreateService, and start the service __________________ No emotions. Your English can't…
-
Using Windows message as a Handle
Hi, I am writing one of my first multithreaded programs. In one of the thread, I am using WaitForSingleObject method to detect the USER LOG-OFF on a…
- Advertisement
-
TCP Sending Unsigned Char...
Hi... I want to send over tcp/ip some data, i have the data in hexadecimal, and when i try to send it, i have a few problems. I give the data as a…
-
Having problemswith multithreading and prime numbers
I have an assignment when I'm suppose to do the following: Write a multithreaded Java, Pthreads, or Win32 program that outputs prime numbers. This…
-
Firewall / visited websites logger
Hi. I have a firewall implementation and I want to log all the websites visited on the machine. So when the user enters an address in the browser…
-
C++ Http request?
Code: string Response = "LOGIN_UNSUCCESSFUL"; System.Net.WebRequest request = System.Net.WebRequest.Create("http://mywebsite.com/user.php"); string…
-
connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP sockets. I've got this problem where most of the time a…
-
Async WSAConnect failed on XP with error code = 2 ("File not found")
Hi all, I have very strange bug, please help me if you can. It is reproduced only on these conditions : WinXP, VS2005, VS2008, build in debug…